mirror of
https://github.com/YunoHost-Apps/airsonic_ynh.git
synced 2024-09-03 18:06:14 +02:00
Upgrade to upstream
This commit is contained in:
parent
d49af3c887
commit
7a23a2d41e
4 changed files with 5 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/airsonic-advanced/airsonic-advanced/releases/download/v10.6.0/airsonic.war
|
||||
SOURCE_SUM=528f417e59499161ad7fd8b86d391e3c7eff70e0825465e315f86d3417664c69
|
||||
SOURCE_URL=https://github.com/airsonic-advanced/airsonic-advanced/releases/download/11.0.0-SNAPSHOT.20220124042650/airsonic.war
|
||||
SOURCE_SUM=45c1de100b246b2a32712c10706ae5ff08c5135477052ac48070256019b81ebe
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=false
|
||||
SOURCE_IN_SUBDIR=false
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"email": "gofannon@riseup.net"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.2.4"
|
||||
"yunohost": ">= 4.3.0"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
|
|
|
@ -109,7 +109,7 @@ ynh_script_progression --message="Creating a data directory..." --weight=1
|
|||
datadir=/home/yunohost.app/$app
|
||||
ynh_app_setting_set --app=$app --key=datadir --value=$datadir
|
||||
|
||||
mkdir -p /home/yunohost.app/$app/{Podcasts,Playlists}
|
||||
mkdir -p $datadir/{Podcasts,Playlists}
|
||||
|
||||
chmod 764 "$datadir"
|
||||
chmod -R o-rwx "$datadir"
|
||||
|
|
|
@ -37,8 +37,7 @@ datadir=$(ynh_app_setting_get --app=$app --key=datadir)
|
|||
#=================================================
|
||||
ynh_script_progression --message="Validating restoration parameters..." --weight=1
|
||||
|
||||
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…
Add table
Reference in a new issue