Skip to content

Commit

Permalink
Ensure permissions are intact
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Sep 12, 2023
1 parent 2201b5a commit 24b3bd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/tasks/self-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ git config core.fileMode false --replace-all
# Check for updates
git pull origin master

# Ensure permissions are intact
sudo chmod +x /usr/local/bin/newtheme

# If there is something preventing the update, show error message
if [ $? -ne 0 ]; then
echo ""
Expand Down

0 comments on commit 24b3bd4

Please sign in to comment.