mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
Update install
This commit is contained in:
parent
01dc70bfb6
commit
f919fb1b55
1 changed files with 0 additions and 6 deletions
|
@ -35,12 +35,6 @@ ln -sd $data_dir/_data $install_dir/_data
|
||||||
ln -sd $data_dir/upload $install_dir/upload
|
ln -sd $data_dir/upload $install_dir/upload
|
||||||
ln -sd $data_dir/galleries $install_dir/galleries
|
ln -sd $data_dir/galleries $install_dir/galleries
|
||||||
|
|
||||||
cp -Rp $tmpdir/_data/. $install_dir/_data
|
|
||||||
cp -Rp $tmpdir/upload/. $install_dir/upload
|
|
||||||
cp -Rp $tmpdir/galleries/. $install_dir/galleries
|
|
||||||
|
|
||||||
ynh_secure_remove --file="$tmpdir"
|
|
||||||
|
|
||||||
chmod 750 "$data_dir"
|
chmod 750 "$data_dir"
|
||||||
chmod -R o-rwx "$data_dir"
|
chmod -R o-rwx "$data_dir"
|
||||||
chown -R $app:www-data "$data_dir"
|
chown -R $app:www-data "$data_dir"
|
||||||
|
|
Loading…
Reference in a new issue