mirror of
https://github.com/YunoHost-Apps/ampache_ynh.git
synced 2024-09-03 18:15:55 +02:00
commit
4a09c44d11
5 changed files with 10 additions and 8 deletions
|
@ -24,7 +24,8 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
* Integrate with YunoHost users - same username and password
|
* Integrate with YunoHost users - same username and password
|
||||||
* Allow one user to be the administrator (set at the installation)
|
* Allow one user to be the administrator (set at the installation)
|
||||||
|
|
||||||
**Shipped version:** 5.4.0~ynh2
|
**Shipped version:** 5.5.0~ynh1
|
||||||
|
|
||||||
|
|
||||||
**Demo:** https://ampache.org/demo.html
|
**Demo:** https://ampache.org/demo.html
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,8 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
||||||
* Integrate with YunoHost users - same username and password
|
* Integrate with YunoHost users - same username and password
|
||||||
* Allow one user to be the administrator (set at the installation)
|
* Allow one user to be the administrator (set at the installation)
|
||||||
|
|
||||||
**Version incluse :** 5.4.0~ynh2
|
**Version incluse :** 5.5.0~ynh1
|
||||||
|
|
||||||
|
|
||||||
**Démo :** https://ampache.org/demo.html
|
**Démo :** https://ampache.org/demo.html
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/ampache/ampache/releases/download/5.4.0/ampache-5.4.0_all_php8.0.zip
|
SOURCE_URL=https://github.com/ampache/ampache/releases/download/5.5.0/ampache-5.5.0_all_php8.0.zip
|
||||||
SOURCE_SUM=d37f9130d2d39d8f936c7ccb2e96711e9e1da53b55d53792f017e5ee5aa12bd1
|
SOURCE_SUM=d9175ca87d5ff662a0bd18e231662c5a0f1ae9cfda03daed9d02554bf8c54638
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=zip
|
SOURCE_FORMAT=zip
|
||||||
SOURCE_IN_SUBDIR=false
|
SOURCE_IN_SUBDIR=false
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Web based audio/video streaming application",
|
"en": "Web based audio/video streaming application",
|
||||||
"fr": "Application de streaming audio et vidéo"
|
"fr": "Application de streaming audio et vidéo"
|
||||||
},
|
},
|
||||||
"version": "5.4.0~ynh2",
|
"version": "5.5.0~ynh1",
|
||||||
"url": "http://ampache.org",
|
"url": "http://ampache.org",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
"email": "aymhce@gmail.com"
|
"email": "aymhce@gmail.com"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.3.0"
|
"yunohost": ">= 11.0.9"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services" : [
|
"services" : [
|
||||||
|
|
|
@ -25,7 +25,7 @@ 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)
|
||||||
secret_key=$(ynh_app_setting_get --app=$app --key=secret_key)
|
secret_key=$(ynh_app_setting_get --app=$app --key=secret_key)
|
||||||
phpversion=$YNH_PHP_VERSION
|
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK VERSION
|
# CHECK VERSION
|
||||||
|
@ -95,7 +95,7 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=3
|
ynh_script_progression --message="Upgrading source files..." --weight=3
|
||||||
|
|
||||||
# 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/config/ampache.cfg.php"
|
ynh_setup_source --dest_dir="$final_path" --keep="config/ampache.cfg.php"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
|
|
Loading…
Add table
Reference in a new issue