Do not assume ~pleroma == /opt/pleroma

This commit is contained in:
rinpatch 2019-06-26 15:20:22 +03:00
parent e404335af8
commit 877f91c0c4

View file

@ -94,7 +94,7 @@ unzip /tmp/pleroma.zip -d /tmp/
# Move the release to the home directory and delete temporary files
su pleroma -s $SHELL -lc "
mv /tmp/release/* /opt/pleroma
mv /tmp/release/* ~pleroma/
rmdir /tmp/release
rm /tmp/pleroma.zip
"