mirror of
https://github.com/YunoHost-Apps/yourls_ynh.git
synced 2024-09-03 20:35:59 +02:00
commit
e8cdf5c70d
4 changed files with 8 additions and 6 deletions
|
@ -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
|
- 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+
|
**Demo:** https://yourls.org/cookie+
|
||||||
|
|
||||||
|
|
|
@ -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
|
- 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+
|
**Démo :** https://yourls.org/cookie+
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "URL shortening service",
|
"en": "URL shortening service",
|
||||||
"fr": "Service de raccourcisseur d'URL"
|
"fr": "Service de raccourcisseur d'URL"
|
||||||
},
|
},
|
||||||
"version": "1.9.1~ynh2",
|
"version": "1.9.1~ynh3",
|
||||||
"url": "https://yourls.org/",
|
"url": "https://yourls.org/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
"url": "http://thomaslebeau.fr"
|
"url": "http://thomaslebeau.fr"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.3.0"
|
"yunohost": ">= 11.0.9"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
|
|
|
@ -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_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||||
db_user=$db_name
|
db_user=$db_name
|
||||||
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
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
|
# CHECK VERSION
|
||||||
|
@ -90,7 +90,7 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# 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
|
fi
|
||||||
|
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
|
|
Loading…
Add table
Reference in a new issue