Permalink
Browse files

Also ensure restorecon exists.

  • Loading branch information...
wayneeseguin committed Aug 26, 2011
1 parent 6d9765e commit 98c15c6e90a74b547a7abb9008634ec76708a834
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/ext/shell/package/functions
@@ -641,7 +641,7 @@ package_ldconfig()
command_exists "${_ldconfig}" || ldconfig="ldconfig"
- if [[ -d /selinux ]]
+ if [[ -d /selinux ]] && command_exists restorecon
then
restorecon -R "${active_path}/lib" # -v ~ verbose
restorecon -R "${packages_path}/versions/${package_name}" # -v ~ verbose

0 comments on commit 98c15c6

Please sign in to comment.