mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-06 07:49:17 +00:00
Changed Update function to fix a fail
This commit is contained in:
parent
cff3fa8696
commit
dbf9824ee4
@ -70,9 +70,10 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v
|
|||||||
unzip -q v${RELEASE}.zip
|
unzip -q v${RELEASE}.zip
|
||||||
mv BookStack-${RELEASE} /opt/bookstack
|
mv BookStack-${RELEASE} /opt/bookstack
|
||||||
mv /opt/.env /opt/bookstack/.env
|
mv /opt/.env /opt/bookstack/.env
|
||||||
COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev &>/dev/null
|
cd /opt/bookstack
|
||||||
php artisan key:generate &>/dev/null
|
composer install --no-dev --no-interaction &>/dev/null
|
||||||
php artisan migrate &>/dev/null
|
php artisan key:generate --force &>/dev/null
|
||||||
|
php artisan migrate --force &>/dev/null
|
||||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
echo "${RELEASE}" >/opt/${APP}_version.txt
|
||||||
msg_ok "Updated ${APP}"
|
msg_ok "Updated ${APP}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user