mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 19:06:59 +08:00
bug fix
This commit is contained in:
parent
df9cd2042a
commit
b2a1896cb9
|
@ -257,9 +257,8 @@ uninstall(){
|
||||||
}
|
}
|
||||||
|
|
||||||
BIN=install
|
BIN=install
|
||||||
ARG=""
|
|
||||||
for i in ${ARG_PARSED[@]}; do
|
for i in ${ARG_PARSED[@]}; do
|
||||||
case $ARG in
|
case $i in
|
||||||
-i ) BIN=install ;;
|
-i ) BIN=install ;;
|
||||||
-r ) BIN=uninstall ;;
|
-r ) BIN=uninstall ;;
|
||||||
-d|--dev ) export DFS_DEV=1 ;;
|
-d|--dev ) export DFS_DEV=1 ;;
|
||||||
|
|
|
@ -119,7 +119,7 @@ while [[ $# > 0 || -n "$ARG" ]]; do
|
||||||
ARG=-${ARG:2}
|
ARG=-${ARG:2}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
unset ARG
|
unset ARG ORIGIN_ARG
|
||||||
|
|
||||||
|
|
||||||
ask_for_yN()
|
ask_for_yN()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user