Browse Source

real latest install

main
pvincent 2 weeks ago
parent
commit
c0f3cf7018
  1. 1
      lib/self-upgrade.bash

1
lib/self-upgrade.bash

@ -54,6 +54,7 @@ function perform_upgrade {
curl -s --output /tmp/miaou-bash-install.sh "$INSTALL_URL" curl -s --output /tmp/miaou-bash-install.sh "$INSTALL_URL"
# if "$backup"/install.sh upgraded; then # if "$backup"/install.sh upgraded; then
#
# shellcheck disable=SC1091 # shellcheck disable=SC1091
if source /tmp/miaou-bash-install.sh upgrade; then if source /tmp/miaou-bash-install.sh upgrade; then
if [[ $(find "$backup"/hooks.d -maxdepth 1 -type f | wc -l) -gt 0 ]]; then if [[ $(find "$backup"/hooks.d -maxdepth 1 -type f | wc -l) -gt 0 ]]; then

Loading…
Cancel
Save