mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
Use extra_files feature of ynh_setup_source
This commit is contained in:
parent
8c1d8803c8
commit
fcc493af42
46 changed files with 1354 additions and 1358 deletions
|
@ -106,8 +106,6 @@ sudo ln -sd $datapath/galleries $final_path/galleries
|
|||
sudo cp -a $TMPDIR/galleries/* $final_path/galleries/
|
||||
sudo ln -sd $datapath/upload $final_path/upload
|
||||
|
||||
sudo cp -R ../plugins/Ldap_Login $final_path/plugins/Ldap_Login
|
||||
|
||||
sudo chown -R $app: $final_path
|
||||
sudo chown -R $app: $datapath
|
||||
sudo chmod 755 -R $final_path/galleries
|
||||
|
|
|
@ -108,8 +108,6 @@ sudo cp -a $TMPDIR/!(upload|galleries) $final_path
|
|||
|
||||
sudo cp -a $TMPDIR/galleries/* $final_path/galleries/
|
||||
|
||||
sudo cp -R ../plugins/Ldap_Login/* $final_path/plugins/Ldap_Login
|
||||
|
||||
sudo chown -R $app: $final_path
|
||||
sudo chown -R $app: /home/yunohost.app/$app
|
||||
sudo chmod 755 -R $final_path/galleries
|
||||
|
|
Loading…
Reference in a new issue