Skip to content

Commit

Permalink
Handle the same on prerelease installer
Browse files Browse the repository at this point in the history
  • Loading branch information
RodoMa92 authored Aug 28, 2023
1 parent 8e768ff commit fdd9c6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dist/install_prerelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdd9c6a

Please sign in to comment.