mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
scripts/iiab-update: Also update /usr/bin/iiab-vpn
This commit is contained in:
parent
27e287e508
commit
c7b566418b
1 changed files with 6 additions and 1 deletions
|
@ -38,9 +38,14 @@
|
|||
fi
|
||||
echo -e "\n\n\e[4mNow running: git pull https://github.com/iiab/iiab --no-rebase --no-edit\e[0m\n"
|
||||
git pull https://github.com/iiab/iiab --no-rebase --no-edit
|
||||
echo
|
||||
if grep -q 'tailscale_installed: True' /etc/iiab/iiab_state.yml; then
|
||||
echo -e "\e[4mNow running: cp -u roles/tailscale/templates/iiab-vpn /usr/bin\e[0m\n"
|
||||
cp -u roles/tailscale/templates/iiab-vpn /usr/bin
|
||||
fi
|
||||
if [[ $1 == "-f" || $1 == "--fast" ]]; then # Otherwise ./runrole does it below! (as Ansible runs roles/0-init)
|
||||
cd scripts
|
||||
echo -e "\n\e[4mNow running: cp -u iiab-update iiab-summary iiab-diagnostics iiab-root-login /usr/bin\e[0m\n"
|
||||
echo -e "\e[4mNow running: cp -u iiab-update iiab-summary iiab-diagnostics iiab-root-login /usr/bin\e[0m\n"
|
||||
cp -u iiab-update iiab-summary iiab-diagnostics iiab-root-login /usr/bin
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue