mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
parent
d0b7de496c
commit
4746906a88
2 changed files with 2 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
||||||
"en": "Open source photo gallery for the web",
|
"en": "Open source photo gallery for the web",
|
||||||
"fr": "Galerie de photos open source pour le web"
|
"fr": "Galerie de photos open source pour le web"
|
||||||
},
|
},
|
||||||
"version": "11.3.0~ynh1",
|
"version": "11.3.0~ynh2",
|
||||||
"url": "http://piwigo.org",
|
"url": "http://piwigo.org",
|
||||||
"license": "GPL-2.0",
|
"license": "GPL-2.0",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -192,10 +192,7 @@ chmod 755 -R $final_path/_data
|
||||||
ynh_script_progression --message="Upgrading Piwigo with cURL..." --weight=6
|
ynh_script_progression --message="Upgrading Piwigo with cURL..." --weight=6
|
||||||
|
|
||||||
# Set the app as temporarily public for cURL call
|
# Set the app as temporarily public for cURL call
|
||||||
ynh_permission_has_user --permission="main" --user="visitors"
|
if ! ynh_permission_has_user --permission="main" --user="visitors"
|
||||||
contains_visitors=$?
|
|
||||||
|
|
||||||
if [ $contains_visitors -eq 1 ]
|
|
||||||
then
|
then
|
||||||
ynh_permission_update --permission="main" --add="visitors"
|
ynh_permission_update --permission="main" --add="visitors"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue