mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
Fix install
This commit is contained in:
parent
73a6023d6b
commit
2f94e89584
1 changed files with 2 additions and 2 deletions
|
@ -104,8 +104,6 @@ chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
|
||||||
ynh_secure_remove --file="$tmpdir"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PHP-FPM CONFIGURATION
|
# PHP-FPM CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -145,6 +143,8 @@ cp -Rp $tmpdir/_data/. $final_path/_data
|
||||||
cp -Rp $tmpdir/upload/. $final_path/upload
|
cp -Rp $tmpdir/upload/. $final_path/upload
|
||||||
cp -Rp $tmpdir/galleries/. $final_path/galleries
|
cp -Rp $tmpdir/galleries/. $final_path/galleries
|
||||||
|
|
||||||
|
ynh_secure_remove --file="$tmpdir"
|
||||||
|
|
||||||
chmod 750 "$datadir"
|
chmod 750 "$datadir"
|
||||||
chmod -R o-rwx "$datadir"
|
chmod -R o-rwx "$datadir"
|
||||||
chown -R $app:www-data "$datadir"
|
chown -R $app:www-data "$datadir"
|
||||||
|
|
Loading…
Reference in a new issue