From 0b73a89eac6c8f0b0b08dc749627a532f379bc89 Mon Sep 17 00:00:00 2001 From: tamaina <tamaina@hotmail.co.jp> Date: Fri, 27 Aug 2021 15:24:19 +0900 Subject: [PATCH] fix --- update.ubuntu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.ubuntu.sh b/update.ubuntu.sh index 6036dc5..2860cbf 100644 --- a/update.ubuntu.sh +++ b/update.ubuntu.sh @@ -55,7 +55,7 @@ else echo "use default" fi -echo "method: $method / user: $misskey_user / dir: $misskey_directory / $misskey_localhost:$misskey_port" +echo "method: $method / user: $misskey_user / dir: $misskey_directory / $misskey_localhost:$misskey_port" if [ $method == "systemd" ]; then @@ -80,7 +80,7 @@ npm run migrate; MKEOF #endregion -if [ $1 == "-r" ]; then +if [ $# == 1 ] && [ $1 == "-r" ]; then apt update -y; apt full-upgrade -y; reboot; -- GitLab