diff --git a/dist/install_prerelease.sh b/dist/install_prerelease.sh index d38f0d5b2..00f990dc8 100644 --- a/dist/install_prerelease.sh +++ b/dist/install_prerelease.sh @@ -21,6 +21,10 @@ DOWNLOADURL=$(jq -r '.assets[].browser_download_url | select(endswith("PluginLoa printf "Installing version %s...\n" "${VERSION}" curl -L $DOWNLOADURL --output ${HOMEBREW_FOLDER}/services/PluginLoader chmod +x ${HOMEBREW_FOLDER}/services/PluginLoader + +echo "Check for SELinux presence and if it is present, set the correct permission on the binary file..." +hash getenforce 2>/dev/null && getenforce | grep "Enforcing" >/dev/null && setenforce -t bin_t ${HOMEBREW_FOLDER}/services/PluginLoader + echo $VERSION > ${HOMEBREW_FOLDER}/services/.loader.version systemctl --user stop plugin_loader 2> /dev/null