From 6e0dcadacec1698fddb2691e409836bb5aff3949 Mon Sep 17 00:00:00 2001 From: hl Date: Tue, 19 Nov 2024 14:16:53 +0800 Subject: [PATCH] update --- add-crowdsec.sh | 2 +- configure.sh | 2 +- init.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/add-crowdsec.sh b/add-crowdsec.sh index f0dc2f8..3caa8e2 100755 --- a/add-crowdsec.sh +++ b/add-crowdsec.sh @@ -48,7 +48,7 @@ usage(){ } DO_SETUP=true; -while getopts ":i" OPT; do +while getopts ":s" OPT; do case $OPT in s) DO_SETUP=false; diff --git a/configure.sh b/configure.sh index e424d0b..dd7533c 100755 --- a/configure.sh +++ b/configure.sh @@ -57,7 +57,7 @@ usage(){ } DO_INSTALL=true; -while getopts ":i" OPT; do +while getopts ":s" OPT; do case $OPT in s) DO_INSTALL=false; diff --git a/init.sh b/init.sh index e8180f0..544a609 100755 --- a/init.sh +++ b/init.sh @@ -130,7 +130,7 @@ usage(){ PKG_BASE="$AWD/packages-base" DO_INSTALL=true; MIRROR_SOURCE=1; -while getopts ":f:ipm:" OPT; do +while getopts ":f:cm:" OPT; do case $OPT in f) PKG_BASE=$OPTARG;