This commit is contained in:
hl committed 2024-11-19 14:13:06 +08:00
1 parent 53df72f761
commit c786fd8d5a
3 files changed
+33 -10

No files matched your search

+3 -3
View File
@@ -47,11 +47,11 @@ usage(){
echo " -s skip setup";
}
NO_SETUP=false;
DO_SETUP=true;
while getopts ":i" OPT; do
case $OPT in
s)
NO_SETUP=true;
DO_SETUP=false;
;;
?)
echo "Invalid Option: -$OPTARG";
@@ -61,6 +61,6 @@ while getopts ":i" OPT; do
done;
main
if ! $NO_SETUP; then
if $DO_SETUP; then
setup
fi;