Skip to content

Commit

Permalink
Merge pull request #10 from TG-WinG/feature/build
Browse files Browse the repository at this point in the history
fix: backup.sh 수정
  • Loading branch information
wwingyou authored Mar 25, 2024
2 parents 644576c + ac8ffe0 commit 6633e7d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion JWT/deploy/backup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#!/bin/bash

sudo mv server.jar server.bak.jar
if [ -f server.jar ]; then
sudo mv server.jar server.bak.jar
echo "server.bak.jar create."
exit 0
fi

echo "no server.jar file found."
exit 0

0 comments on commit 6633e7d

Please sign in to comment.