1
0
Fork 0
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:
Éric Gaspar 2024-06-19 22:23:24 +02:00
parent 01dc70bfb6
commit f919fb1b55

View file

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