mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-04-24 21:46:52 +08:00
install.sh: DFS_UPDATED_RET=85
This commit is contained in:
parent
8292737ddd
commit
20f60adb5c
|
@ -219,8 +219,8 @@ install_update(){
|
||||||
cp "${DOTFILES}/.update.sh" "${DOTFILES}/update.sh"
|
cp "${DOTFILES}/.update.sh" "${DOTFILES}/update.sh"
|
||||||
chmod +x "${DOTFILES}/update.sh"
|
chmod +x "${DOTFILES}/update.sh"
|
||||||
fmt_note "running update.sh ..."
|
fmt_note "running update.sh ..."
|
||||||
DFS_UPDATED_RET=1 ${DOTFILES}/update.sh
|
DFS_UPDATED_RET=85 ${DOTFILES}/update.sh
|
||||||
if [[ $? == 1 ]]; then
|
if [[ $? == 85 ]]; then
|
||||||
fmt_note "dfs updated. re-running install.sh ..."
|
fmt_note "dfs updated. re-running install.sh ..."
|
||||||
"${DOTFILES}/install.sh" && exit
|
"${DOTFILES}/install.sh" && exit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user