Skip to content

Commit 03424f0

Browse files
authored
Update bookstack.sh
1 parent bf9edf4 commit 03424f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ct/bookstack.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ function update_script() {
4343
cp -r /opt/bookstack-backup/storage/uploads/* /opt/bookstack/storage/uploads/ || true
4444
cp -r /opt/bookstack-backup/themes/* /opt/bookstack/themes/ || true
4545
cd /opt/bookstack
46-
$STD COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev
46+
export COMPOSER_ALLOW_SUPERUSER=1
47+
$STD composer install --no-dev
4748
$STD php artisan migrate --force
4849
chown www-data:www-data -R /opt/bookstack /opt/bookstack/bootstrap/cache /opt/bookstack/public/uploads /opt/bookstack/storage
4950
chmod -R 755 /opt/bookstack /opt/bookstack/bootstrap/cache /opt/bookstack/public/uploads /opt/bookstack/storage

0 commit comments

Comments
 (0)