diff --git a/ct/managemydamnlife.sh b/ct/managemydamnlife.sh index 3a5d0d85..f6bacbaf 100644 --- a/ct/managemydamnlife.sh +++ b/ct/managemydamnlife.sh @@ -42,7 +42,7 @@ function update_script() { msg_info "Updating $APP to v${RELEASE}" curl -fsSLO "https://github.com/intri-in/manage-my-damn-life-nextjs/archive/refs/tags/v${RELEASE}.zip" rm -r /opt/mmdl - unzip -q "$RELEASE".zip + unzip -q v"$RELEASE".zip mv manage-my-damn-life-nextjs-"$RELEASE"/ /opt/mmdl mv /opt/mmdl.env /opt/mmdl/.env cd /opt/mmdl @@ -56,7 +56,7 @@ function update_script() { msg_ok "Started $APP" msg_info "Cleaning Up" - rm -f ~/"$RELEASE".zip + rm -f ~/v"$RELEASE".zip msg_ok "Cleanup Completed" # Last Action diff --git a/install/managemydamnlife-install.sh b/install/managemydamnlife-install.sh index a7f219e6..1dcd1913 100644 --- a/install/managemydamnlife-install.sh +++ b/install/managemydamnlife-install.sh @@ -81,7 +81,7 @@ motd_ssh customize msg_info "Cleaning up" -rm -f ~/${RELEASE}.zip +rm -f ~/v${RELEASE}.zip $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned"