mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 16:17:00 +08:00
bug fix
This commit is contained in:
parent
df9cd2042a
commit
b2a1896cb9
|
@ -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 ;;
|
||||
|
|
|
@ -119,7 +119,7 @@ while [[ $# > 0 || -n "$ARG" ]]; do
|
|||
ARG=-${ARG:2}
|
||||
fi
|
||||
done
|
||||
unset ARG
|
||||
unset ARG ORIGIN_ARG
|
||||
|
||||
|
||||
ask_for_yN()
|
||||
|
|
Loading…
Reference in New Issue
Block a user