1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ampache_ynh.git synced 2024-09-03 18:15:55 +02:00

Merge pull request #92 from YunoHost-Apps/testing

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

View file

@ -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
* 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

View file

@ -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
* 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

View file

@ -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_SUM=d37f9130d2d39d8f936c7ccb2e96711e9e1da53b55d53792f017e5ee5aa12bd1
SOURCE_URL=https://github.com/ampache/ampache/releases/download/5.5.0/ampache-5.5.0_all_php8.0.zip
SOURCE_SUM=d9175ca87d5ff662a0bd18e231662c5a0f1ae9cfda03daed9d02554bf8c54638
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=false

View file

@ -6,7 +6,7 @@
"en": "Web based audio/video streaming application",
"fr": "Application de streaming audio et vidéo"
},
"version": "5.4.0~ynh2",
"version": "5.5.0~ynh1",
"url": "http://ampache.org",
"upstream": {
"license": "AGPL-3.0",
@ -21,7 +21,7 @@
"email": "aymhce@gmail.com"
},
"requirements": {
"yunohost": ">= 4.3.0"
"yunohost": ">= 11.0.9"
},
"multi_instance": true,
"services" : [

View file

@ -25,7 +25,7 @@ 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)
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
@ -95,7 +95,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=3
# 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
chmod 750 "$final_path"