Skip to content

Commit

Permalink
Updated install.sh
Browse files Browse the repository at this point in the history
updated file permissions for security
  • Loading branch information
Serdar ŞEN authored Apr 29, 2018
1 parent cb1a401 commit e4807ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ echo "Installing UBrightnessController to $PLUGIN_DIR"

sudo rm -rf "${PLUGIN_DIR}/UBrightnessController" || fail
sudo cp -r ./src/UBrightnessController "${PLUGIN_DIR}/" || fail
sudo chmod -R 777 "${PLUGIN_DIR}/UBrightnessController/ubrightnesscontroller" || fail
sudo chmod -R 755 "${PLUGIN_DIR}/UBrightnessController/ubrightnesscontroller" || fail
sudo chmod -R 644 "${PLUGIN_DIR}/UBrightnessController/UBrightnessController.py" || fail
budgie-panel --replace &

echo "Done. You should be able to add the applet to your panel now."

0 comments on commit e4807ee

Please sign in to comment.