mmdl: Definitely the last v
This commit is contained in:
parent
8fc289145f
commit
a885af3078
@ -42,7 +42,7 @@ function update_script() {
|
|||||||
msg_info "Updating $APP to v${RELEASE}"
|
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"
|
curl -fsSLO "https://github.com/intri-in/manage-my-damn-life-nextjs/archive/refs/tags/v${RELEASE}.zip"
|
||||||
rm -r /opt/mmdl
|
rm -r /opt/mmdl
|
||||||
unzip -q "$RELEASE".zip
|
unzip -q v"$RELEASE".zip
|
||||||
mv manage-my-damn-life-nextjs-"$RELEASE"/ /opt/mmdl
|
mv manage-my-damn-life-nextjs-"$RELEASE"/ /opt/mmdl
|
||||||
mv /opt/mmdl.env /opt/mmdl/.env
|
mv /opt/mmdl.env /opt/mmdl/.env
|
||||||
cd /opt/mmdl
|
cd /opt/mmdl
|
||||||
@ -56,7 +56,7 @@ function update_script() {
|
|||||||
msg_ok "Started $APP"
|
msg_ok "Started $APP"
|
||||||
|
|
||||||
msg_info "Cleaning Up"
|
msg_info "Cleaning Up"
|
||||||
rm -f ~/"$RELEASE".zip
|
rm -f ~/v"$RELEASE".zip
|
||||||
msg_ok "Cleanup Completed"
|
msg_ok "Cleanup Completed"
|
||||||
|
|
||||||
# Last Action
|
# Last Action
|
||||||
|
@ -81,7 +81,7 @@ motd_ssh
|
|||||||
customize
|
customize
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -f ~/${RELEASE}.zip
|
rm -f ~/v${RELEASE}.zip
|
||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user