1
0
Fork 0
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:
Jimmy Monin 2017-06-10 21:38:32 +02:00
parent 8c1d8803c8
commit fcc493af42
46 changed files with 1354 additions and 1358 deletions

View file

@ -106,8 +106,6 @@ sudo ln -sd $datapath/galleries $final_path/galleries
sudo cp -a $TMPDIR/galleries/* $final_path/galleries/ sudo cp -a $TMPDIR/galleries/* $final_path/galleries/
sudo ln -sd $datapath/upload $final_path/upload 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: $final_path
sudo chown -R $app: $datapath sudo chown -R $app: $datapath
sudo chmod 755 -R $final_path/galleries sudo chmod 755 -R $final_path/galleries

View file

@ -108,8 +108,6 @@ sudo cp -a $TMPDIR/!(upload|galleries) $final_path
sudo cp -a $TMPDIR/galleries/* $final_path/galleries/ 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: $final_path
sudo chown -R $app: /home/yunohost.app/$app sudo chown -R $app: /home/yunohost.app/$app
sudo chmod 755 -R $final_path/galleries sudo chmod 755 -R $final_path/galleries