Compare commits
2 commits
15db9cfa02
...
cb06989850
Author | SHA1 | Date | |
---|---|---|---|
cb06989850 | |||
55227be2d6 |
2 changed files with 3 additions and 3 deletions
|
@ -56,7 +56,7 @@ chmod 755 /root/.local/bin/mc-backup
|
|||
|
||||
if [ -e /server.tar.zstd ]; then
|
||||
echo 'unpacking server backup...'
|
||||
tar -C / --zstd --overwrite -x /server.tar.zstd
|
||||
tar -C / --zstd --overwrite -x -f /server.tar.zstd
|
||||
fi
|
||||
|
||||
# find the latest release of the requested version and download it
|
||||
|
@ -83,4 +83,4 @@ echo "starting units..."
|
|||
systemctl start mc-server.service
|
||||
|
||||
# yeah wow hope that worked lol
|
||||
echo "done! you can now delete this directory"
|
||||
echo "done!"
|
||||
|
|
|
@ -286,7 +286,7 @@ versionprompt() {
|
|||
|
||||
yes() {
|
||||
while :; do
|
||||
read -p '(Y/n)'
|
||||
read -p '(Y/n): '
|
||||
case $REPLY in
|
||||
[Yy]*)
|
||||
return 0
|
||||
|
|
Loading…
Add table
Reference in a new issue