Skip to content

Commit

Permalink
set rights when unpacking database
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfgebhardt committed Mar 19, 2024
1 parent 21b57b1 commit 97d17ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions authentik/database.unpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ SCRIPT_PATH=$(realpath $0)
SCRIPT_DIR=$(dirname $SCRIPT_PATH)

# delete last backup & backup
sudo chmod 777 -R $SCRIPT_DIR/database
rm -R $SCRIPT_DIR/database.old || true
mv $SCRIPT_DIR/database $SCRIPT_DIR/database.old

Expand Down

0 comments on commit 97d17ea

Please sign in to comment.