mirror of
https://github.com/YunoHost-Apps/phpldapadmin_ynh.git
synced 2024-09-03 19:56:45 +02:00
parent
357f310c76
commit
adaf8c0edb
6 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
|
|||
|
||||
phpLDAPadmin is a web app for administering Lightweight Directory Access Protocol (LDAP) servers.
|
||||
|
||||
**Shipped version:** 1.2.6.2~ynh3
|
||||
**Shipped version:** 1.2.6.3~ynh1
|
||||
|
||||
**Demo:** https://olddemo.phpldapadmin.org/
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
phpLDAPadmin is a web app for administering Lightweight Directory Access Protocol (LDAP) servers.
|
||||
|
||||
**Version incluse :** 1.2.6.2~ynh3
|
||||
**Version incluse :** 1.2.6.3~ynh1
|
||||
|
||||
**Démo :** https://olddemo.phpldapadmin.org/
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/leenooks/phpLDAPadmin/archive/1.2.6.2.tar.gz
|
||||
SOURCE_SUM=49b14019bf611267720b4e9de33f2502b44c526809f17225a4a76ee8296b8d64
|
||||
SOURCE_URL=https://github.com/leenooks/phpLDAPadmin/archive/1.2.6.3.tar.gz
|
||||
SOURCE_SUM=718f805403279f8e54caa1046b5f43c989e3bce82c408d22d349b5393e4a2cea
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -4,11 +4,6 @@ location __PATH__/ {
|
|||
# Path to source
|
||||
alias __FINALPATH__/ ;
|
||||
|
||||
# Force usage of https
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
index index.php;
|
||||
|
||||
try_files $uri $uri/ index.php;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Manage OpenLDAP database over the web",
|
||||
"fr": "Application web de gestion de la base OpenLDAP"
|
||||
},
|
||||
"version": "1.2.6.2~ynh3",
|
||||
"version": "1.2.6.3~ynh1",
|
||||
"url": "http://www.phpldapadmin.org",
|
||||
"upstream": {
|
||||
"license": "GPL-2.0-or-later",
|
||||
|
@ -21,7 +21,7 @@
|
|||
"email": "aymhce@gmail.com"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.2.4"
|
||||
"yunohost": ">= 4.3.0"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
|
|
|
@ -35,8 +35,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
#=================================================
|
||||
ynh_script_progression --message="Validating restoration parameters..." --weight=2
|
||||
|
||||
test ! -d $final_path \
|
||||
|| ynh_die --message="There is already a directory: $final_path "
|
||||
test ! -d $final_path || ynh_die --message="There is already a directory: $final_path "
|
||||
|
||||
#=================================================
|
||||
# STANDARD RESTORATION STEPS
|
||||
|
|
Loading…
Reference in a new issue