mirror of
https://github.com/YunoHost-Apps/phpipam_ynh.git
synced 2024-09-03 19:56:39 +02:00
commit
1dd4ba2ccd
7 changed files with 7 additions and 13 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
Web IP address management application
|
Web IP address management application
|
||||||
|
|
||||||
**Shipped version:** 1.4.3~ynh1
|
**Shipped version:** 1.4.4~ynh1
|
||||||
|
|
||||||
**Demo:** http://demo.phpipam.net
|
**Demo:** http://demo.phpipam.net
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
||||||
|
|
||||||
Application web de gestion d'adresses IP
|
Application web de gestion d'adresses IP
|
||||||
|
|
||||||
**Version incluse :** 1.4.3~ynh1
|
**Version incluse :** 1.4.4~ynh1
|
||||||
|
|
||||||
**Démo :** http://demo.phpipam.net
|
**Démo :** http://demo.phpipam.net
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/phpipam/phpipam/releases/download/v1.4.3/phpipam-v1.4.3.zip
|
SOURCE_URL=https://github.com/phpipam/phpipam/releases/download/v1.4.4/phpipam-v1.4.4.zip
|
||||||
SOURCE_SUM=f85b11399fc2fd3d3027e41bc7eecb89149454f3845fe1cda4c1e3722d16d00d
|
SOURCE_SUM=0baa77f135bbf72b138c58e50d58046eaaad722a96f09d3e148b61c5cd5f071f
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=zip
|
SOURCE_FORMAT=zip
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Web IP address management application",
|
"en": "Web IP address management application",
|
||||||
"fr": "Application web de gestion d'adresses IP"
|
"fr": "Application web de gestion d'adresses IP"
|
||||||
},
|
},
|
||||||
"version": "1.4.3~ynh1",
|
"version": "1.4.4~ynh1",
|
||||||
"url": "https://phpipam.net/",
|
"url": "https://phpipam.net/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
|
|
|
@ -13,10 +13,6 @@ source /usr/share/yunohost/helpers
|
||||||
# MANAGE SCRIPT FAILURE
|
# MANAGE SCRIPT FAILURE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_clean_setup () {
|
|
||||||
### Remove this function if there's nothing to clean before calling the remove script.
|
|
||||||
true
|
|
||||||
}
|
|
||||||
# Exit if an error occurs during the execution of the script
|
# Exit if an error occurs during the execution of the script
|
||||||
ynh_abort_if_errors
|
ynh_abort_if_errors
|
||||||
|
|
||||||
|
@ -105,7 +101,7 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
ynh_add_config --template="../conf/config.dist.php" --destination="$final_path/config.php"
|
ynh_add_config --template="../conf/config.dist.php" --destination="$final_path/config.php"
|
||||||
|
|
||||||
chmod 644 "$final_path/config.php"
|
chmod 644 "$final_path/config.php"
|
||||||
chown $app:$app "$final_path/config.php"
|
chown $app: "$final_path/config.php"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
|
@ -40,8 +40,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Validating restoration parameters..." --weight=1
|
ynh_script_progression --message="Validating restoration parameters..." --weight=1
|
||||||
|
|
||||||
ynh_webpath_available --domain=$domain --path_url=$path_url \
|
|
||||||
|| ynh_die --message="Path not available: ${domain}${path_url}"
|
|
||||||
test ! -d $final_path \
|
test ! -d $final_path \
|
||||||
|| ynh_die --message="There is already a directory: $final_path "
|
|| ynh_die --message="There is already a directory: $final_path "
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1
|
||||||
ynh_add_config --template="../conf/config.dist.php" --destination="$final_path/config.php"
|
ynh_add_config --template="../conf/config.dist.php" --destination="$final_path/config.php"
|
||||||
|
|
||||||
chmod 400 "$final_path/config.php"
|
chmod 400 "$final_path/config.php"
|
||||||
chown $app:$app "$final_path/config.php"
|
chown $app: "$final_path/config.php"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Reference in a new issue