This commit is contained in:
Dict Xiong 2022-11-15 22:59:23 +08:00
parent df9cd2042a
commit b2a1896cb9
2 changed files with 2 additions and 3 deletions

View File

@ -257,9 +257,8 @@ uninstall(){
}
BIN=install
ARG=""
for i in ${ARG_PARSED[@]}; do
case $ARG in
case $i in
-i ) BIN=install ;;
-r ) BIN=uninstall ;;
-d|--dev ) export DFS_DEV=1 ;;

View File

@ -119,7 +119,7 @@ while [[ $# > 0 || -n "$ARG" ]]; do
ARG=-${ARG:2}
fi
done
unset ARG
unset ARG ORIGIN_ARG
ask_for_yN()