From 37373ebd3d3aedc66ead277802e57f5cb83240e0 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Thu, 9 May 2024 08:54:40 +0900 Subject: [PATCH] fix: use aqua-installer -v option --- src/aqua-installer/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aqua-installer/install.sh b/src/aqua-installer/install.sh index b5cd0c6..980f96e 100644 --- a/src/aqua-installer/install.sh +++ b/src/aqua-installer/install.sh @@ -57,7 +57,7 @@ echo "8299de6c19a8ff6b2cc6ac69669cf9e12a96cece385658310aea4f4646a5496d aqua-ins chmod a+x aqua-installer if [ "$_REMOTE_USER" = root ]; then - ./aqua-installer "$AQUA_VERSION" + ./aqua-installer -v "$AQUA_VERSION" else if ! has_command sudo; then if has_command apt-get; then @@ -70,7 +70,7 @@ else exit 1 fi fi - sudo -u "$_REMOTE_USER" ./aqua-installer "$AQUA_VERSION" + sudo -u "$_REMOTE_USER" ./aqua-installer -v "$AQUA_VERSION" fi rm -R "$tempdir"