mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-04-24 15:17:16 +08:00
install.sh: bug fix that re-run install.sh after updated needs orgin args
This commit is contained in:
parent
854c548b3c
commit
cefba82f1c
|
@ -204,7 +204,7 @@ install_update(){
|
|||
DFS_UPDATED_RET=85 ${DOTFILES}/update.sh
|
||||
if [[ $? == 85 ]]; then
|
||||
fmt_note "dfs updated. re-running install.sh ..."
|
||||
"${DOTFILES}/install.sh" && exit
|
||||
"${DOTFILES}/install.sh" "$ORIGIN_ARGS" && exit
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -241,6 +241,7 @@ uninstall(){
|
|||
fmt_note "done uninstalling!"
|
||||
}
|
||||
|
||||
ORIGIN_ARGS="$@"
|
||||
parse_arg "$@"
|
||||
FUNC=install
|
||||
INSTALL_DEP=0
|
||||
|
|
Loading…
Reference in New Issue
Block a user