mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fix #13515: create directories expected by RestoreFromBackup.php
This commit is contained in:
parent
0f64d66cd8
commit
b65bf5082d
|
@ -17,16 +17,23 @@ else
|
|||
fi
|
||||
|
||||
# create data directories
|
||||
# Note: Keep in sync with expected directories by the app
|
||||
# https://github.com/snipe/snipe-it/blob/master/app/Console/Commands/RestoreFromBackup.php#L232
|
||||
for dir in \
|
||||
'data/private_uploads' \
|
||||
'data/private_uploads/assets' \
|
||||
'data/private_uploads/accessories' \
|
||||
'data/private_uploads/audits' \
|
||||
'data/private_uploads/components' \
|
||||
'data/private_uploads/consumables' \
|
||||
'data/private_uploads/eula-pdfs' \
|
||||
'data/private_uploads/imports' \
|
||||
'data/private_uploads/assetmodels' \
|
||||
'data/private_uploads/users' \
|
||||
'data/private_uploads/licenses' \
|
||||
'data/private_uploads/signatures' \
|
||||
'data/uploads/accessories' \
|
||||
'data/uploads/assets' \
|
||||
'data/uploads/avatars' \
|
||||
'data/uploads/barcodes' \
|
||||
'data/uploads/categories' \
|
||||
|
|
Loading…
Reference in a new issue