mirror of
https://github.com/YunoHost-Apps/kresus_ynh.git
synced 2024-09-03 19:36:10 +02:00
Upgrade to 0.13.2
This commit is contained in:
parent
f1245b91a0
commit
d30b797aaa
4 changed files with 10 additions and 5 deletions
|
@ -15,7 +15,7 @@
|
||||||
setup_private=1
|
setup_private=1
|
||||||
setup_public=0
|
setup_public=0
|
||||||
upgrade=1
|
upgrade=1
|
||||||
# upgrade=1 from_commit=c1345759860b9886b51a406366d1fcc090f05012
|
upgrade=1 from_commit=c1345759860b9886b51a406366d1fcc090f05012
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
incorrect_path=1
|
incorrect_path=1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
SOURCE_URL=https://framagit.org/bnjbvr/kresus/repository/0.13.1/archive.tar.bz2
|
SOURCE_URL=https://framagit.org/bnjbvr/kresus/-/archive/0.13.2/kresus-0.13.2.tar.bz2
|
||||||
SOURCE_SUM=0fc6679e564f151b6671aa4768a863f3acb10cf7b4ed116ab6b7d22a9e53e76a
|
SOURCE_SUM=f5185dc12da185515df205a0a24f94c30b3fe28d3f4775d3c297779dc0503a16
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.bz2
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
SOURCE_FILENAME=
|
SOURCE_FILENAME=
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 2.7.10"
|
"yunohost": ">= 2.7.10"
|
||||||
},
|
},
|
||||||
"version": "0.13.1-2",
|
"version": "0.13.2-2",
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
"nginx"
|
"nginx"
|
||||||
|
|
|
@ -35,6 +35,11 @@ if [ -z $final_path ]; then
|
||||||
ynh_app_setting_set $app final_path $final_path
|
ynh_app_setting_set $app final_path $final_path
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "/home/ynh$app"]; then
|
||||||
|
mv "/home/ynh$app/data" "$final_path/data"
|
||||||
|
ynh_secure_remove "/home/ynh$app"
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue