|
|
@ -53,9 +53,6 @@ function perform_upgrade { |
|
|
sudo mv "$MIAOU_BASH_DIR" "$backup" |
|
|
sudo mv "$MIAOU_BASH_DIR" "$backup" |
|
|
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 |
|
|
|
|
|
echo coucou |
|
|
|
|
|
echo coucou2 |
|
|
|
|
|
# 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 |
|
|
|