This commit is contained in:
Dict Xiong 2022-08-28 16:22:01 +08:00
parent d6779d639a
commit c9f7bdd8ae
2 changed files with 6 additions and 4 deletions

View File

@ -20,7 +20,7 @@ jobs:
run: |
rev=`git rev-parse HEAD`
pwd
export DFS_NO_COMPILE=1
export DFS_NO_COMPILE=1 DFS_NO_UPDATE=1
./install.sh
git checkout $rev
@ -51,7 +51,7 @@ jobs:
run: |
rev=`git rev-parse HEAD`
pwd
export DFS_NO_COMPILE=1
export DFS_NO_COMPILE=1 DFS_NO_UPDATE=1
./install.sh
git checkout $rev

View File

@ -118,8 +118,10 @@ install_update(){
fmt_note "installing update.sh ..."
cp "${DOTFILES}/.update.sh" "${DOTFILES}/update.sh"
chmod +x "${DOTFILES}/update.sh"
fmt_note "running update.sh ..."
${DOTFILES}/update.sh
if [[ -z "$DFS_NO_UPDATE" ]]; then
fmt_note "running update.sh ..."
${DOTFILES}/update.sh
fi
}
uninstall_update(){