Compare commits

...

2 commits

2 changed files with 3 additions and 3 deletions

View file

@ -56,7 +56,7 @@ chmod 755 /root/.local/bin/mc-backup
if [ -e /server.tar.zstd ]; then if [ -e /server.tar.zstd ]; then
echo 'unpacking server backup...' echo 'unpacking server backup...'
tar -C / --zstd --overwrite -x /server.tar.zstd tar -C / --zstd --overwrite -x -f /server.tar.zstd
fi fi
# find the latest release of the requested version and download it # find the latest release of the requested version and download it
@ -83,4 +83,4 @@ echo "starting units..."
systemctl start mc-server.service systemctl start mc-server.service
# yeah wow hope that worked lol # yeah wow hope that worked lol
echo "done! you can now delete this directory" echo "done!"

View file

@ -286,7 +286,7 @@ versionprompt() {
yes() { yes() {
while :; do while :; do
read -p '(Y/n)' read -p '(Y/n): '
case $REPLY in case $REPLY in
[Yy]*) [Yy]*)
return 0 return 0