real latest install

This commit is contained in:
pvincent
2026-08-22 20:06:55 +04:00
parent 53f0e482cb
commit 8e3be88598
+4 -2
View File
@@ -53,10 +53,12 @@ function perform_upgrade {
sudo mv "$MIAOU_BASH_DIR" "$backup"
curl -s --output /tmp/miaou-bash-install.sh "$INSTALL_URL"
# if "$backup"/install.sh upgraded; then
# shellcheck disable=SC1091
if source /tmp/miaou-bash-install.sh upgrade; then
# if "$backup"/install.sh upgraded; then
sudo mv "$backup"/hooks.d/* "$MIAOU_BASH_DIR/hooks.d/"
if [[ $(find "$backup"/hooks.d -maxdepth 1 -type f | wc -l) -gt 0 ]]; then
sudo mv "$backup"/hooks.d/* "$MIAOU_BASH_DIR"/hooks.d/
fi
sudo rm -rf "$backup"
cat <<EOF
To reset this session, you can run: