Skip to content

Commit 10634a7

Browse files
authored
Fix: Copy issue after update in Bookstack LXC (#1137)
1 parent 0aeec14 commit 10634a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ct/bookstack.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ function update_script() {
4444
unzip -q /opt/v${RELEASE}.zip -d /opt
4545
mv /opt/BookStack-${RELEASE} /opt/bookstack
4646
cp /opt/bookstack-backup/.env /opt/bookstack/.env
47-
cp -r /opt/bookstack-backup/public/uploads/ /opt/bookstack/public/uploads
48-
cp -r /opt/bookstack-backup/storage/uploads/ /opt/bookstack/storage/uploads
49-
cp -r /opt/bookstack-backup/themes/ /opt/bookstack/themes
47+
cp -r /opt/bookstack-backup/public/uploads/* /opt/bookstack/public/uploads/
48+
cp -r /opt/bookstack-backup/storage/uploads/* /opt/bookstack/storage/uploads/
49+
cp -r /opt/bookstack-backup/themes/* /opt/bookstack/themes/
5050
cd /opt/bookstack
5151
COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev &>/dev/null
5252
php artisan migrate --force &>/dev/null

0 commit comments

Comments
 (0)