Skip to content

Commit

Permalink
Fix to preserve manifest links upon manual upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Jul 20, 2022
1 parent 81f8daf commit 276e744
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions theme-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ directory. This is strongly \e[3mnot advised\e[0m for any production system!"
# Checking for possible errors
if [ $? -eq 0 ] && [ -f "$DIR/.~authentic-theme/theme.info" ]; then
# Post successful commands
cp -P "$DIR/authentic-theme/manifest"-* "$DIR/.~authentic-theme/"
rm -rf "$DIR/authentic-theme"/*
mv "$DIR/.~authentic-theme"/* "$DIR/authentic-theme/"
rm -rf "$DIR/.~authentic-theme"
Expand Down

0 comments on commit 276e744

Please sign in to comment.