mmdl: fix app name
This commit is contained in:
parent
1d33e3c1cd
commit
be2018471d
@ -43,7 +43,7 @@ function update_script() {
|
||||
curl -fsSLO "https://github.com/intri-in/manage-my-damn-life-nextjs/archive/refs/tags/${RELEASE}.zip"
|
||||
rm -r /opt/mmdl
|
||||
unzip -q "$RELEASE".zip
|
||||
mv "$APPLICATION"-nodejs-"$RELEASE"/ /opt/mmdl
|
||||
mv manage-my-damn-life-nextjs-"$RELEASE"/ /opt/mmdl
|
||||
mv /opt/mmdl.env /opt/mmdl/.env
|
||||
cd /opt/mmdl
|
||||
$STD npm install
|
||||
|
@ -38,7 +38,7 @@ msg_info "Setup ${APPLICATION}"
|
||||
RELEASE=$(curl -s https://api.github.com/repos/intri-in/manage-my-damn-life-nextjs/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||
curl -fsSLO "https://github.com/intri-in/manage-my-damn-life-nextjs/archive/refs/tags/v${RELEASE}.zip"
|
||||
unzip -q v"$RELEASE".zip
|
||||
mv "$APPLICATION"-nextjs-"$RELEASE"/ /opt/mmdl
|
||||
mv manage-my-damn-life-nextjs-"$RELEASE"/ /opt/mmdl
|
||||
cp /opt/mmdl/sample.env.local /opt/mmdl/.env
|
||||
|
||||
sed -i -e 's|db|localhost|' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user