forked from TheWrightServer/ProxmoxVE
[Bugfix] Remove Wallos Folder to Update (#129)
This commit is contained in:
parent
a68f380d6b
commit
5bcbf9ba63
@ -67,6 +67,7 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v
|
||||
wget -q "https://github.com/ellite/Wallos/archive/refs/tags/v${RELEASE}.zip"
|
||||
mv /opt/wallos/db/wallos.db /opt/wallos.db
|
||||
unzip -q v${RELEASE}.zip
|
||||
rm -rf /opt/wallos
|
||||
mv Wallos-${RELEASE} /opt/wallos
|
||||
rm -rf /opt/wallos/db/wallos.empty.db
|
||||
mv /opt/wallos.db /opt/wallos/db/wallos.db
|
||||
|
Loading…
x
Reference in New Issue
Block a user