mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
Copy initial archive files in _data, galleries and upload directories
This commit is contained in:
parent
37bdda0d8b
commit
2d216e16f9
1 changed files with 4 additions and 0 deletions
|
@ -115,6 +115,10 @@ ln -sd $datapath/_data $final_path/_data
|
|||
ln -sd $datapath/upload $final_path/upload
|
||||
ln -sd $datapath/galleries $final_path/galleries
|
||||
|
||||
cp -Rp $tmpdir/_data/. $final_path/_data
|
||||
cp -Rp $tmpdir/upload/. $final_path/upload
|
||||
cp -Rp $tmpdir/galleries/. $final_path/galleries
|
||||
|
||||
chown -R $app: $final_path
|
||||
chown -R $app: $datapath
|
||||
chmod 755 -R $final_path/_data
|
||||
|
|
Loading…
Reference in a new issue