1
0
Fork 0
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:
Jimmy Monin 2018-07-31 22:29:39 +02:00
parent 37bdda0d8b
commit 2d216e16f9

View file

@ -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