1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yourls_ynh.git synced 2024-09-03 20:35:59 +02:00

Merge pull request #29 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-08-17 23:08:36 +02:00 committed by GitHub
commit e8cdf5c70d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 6 deletions

View file

@ -29,7 +29,8 @@ Running your own URL shortener is fun, geeky and useful: you own your data and d
- Sample files to create your own public interface
**Shipped version:** 1.9.1~ynh2
**Shipped version:** 1.9.1~ynh3
**Demo:** https://yourls.org/cookie+

View file

@ -29,7 +29,8 @@ Running your own URL shortener is fun, geeky and useful: you own your data and d
- Sample files to create your own public interface
**Version incluse :** 1.9.1~ynh2
**Version incluse :** 1.9.1~ynh3
**Démo :** https://yourls.org/cookie+

View file

@ -6,7 +6,7 @@
"en": "URL shortening service",
"fr": "Service de raccourcisseur d'URL"
},
"version": "1.9.1~ynh2",
"version": "1.9.1~ynh3",
"url": "https://yourls.org/",
"upstream": {
"license": "MIT",
@ -26,7 +26,7 @@
"url": "http://thomaslebeau.fr"
},
"requirements": {
"yunohost": ">= 4.3.0"
"yunohost": ">= 11.0.9"
},
"multi_instance": true,
"services": [

View file

@ -22,7 +22,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
db_user=$db_name
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
phpversion=$YNH_PHP_VERSION
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
# CHECK VERSION
@ -90,7 +90,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/user/config.php"
ynh_setup_source --dest_dir="$final_path" --keep="user/config.php"
fi
chmod 750 "$final_path"