Skip to content
Browse files

Also ensure restorecon exists.

  • Loading branch information...
1 parent 6d9765e commit 98c15c6e90a74b547a7abb9008634ec76708a834 @wayneeseguin wayneeseguin committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/ext/shell/package/functions
View
2 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.
Something went wrong with that request. Please try again.