mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
Merge pull request #207 from YunoHost-Apps/fix-force-upgrade
Fix abort_if_up_to_date to allow force-upgrades
This commit is contained in:
commit
0fdea099c1
5 changed files with 8 additions and 4 deletions
|
@ -22,7 +22,8 @@ For user friendly details about Pleroma: [see here](https://blog.soykaf.com/post
|
|||
**Mastodon web front-end for Pleroma:** Add **/web** in front of your Pleroma domain, eg. pleroma.domain.tld/web
|
||||
|
||||
|
||||
**Shipped version:** 2.4.3~ynh1
|
||||
**Shipped version:** 2.4.3~ynh2
|
||||
|
||||
|
||||
**Demo:** http://distsn.org/pleroma-instances.html
|
||||
|
||||
|
|
|
@ -22,7 +22,8 @@ For user friendly details about Pleroma: [see here](https://blog.soykaf.com/post
|
|||
**Mastodon web front-end for Pleroma:** Add **/web** in front of your Pleroma domain, eg. pleroma.domain.tld/web
|
||||
|
||||
|
||||
**Version incluse :** 2.4.3~ynh1
|
||||
**Version incluse :** 2.4.3~ynh2
|
||||
|
||||
|
||||
**Démo :** http://distsn.org/pleroma-instances.html
|
||||
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
upgrade=1 from_commit=2c4a57afdc92a6428ccfea3ccb74c7e33dc9b9ff
|
||||
# 2.4.1~ynh1
|
||||
upgrade=1 from_commit=e6d9935af254018baf326281662c55407170694d
|
||||
# 2.4.3~ynh1
|
||||
upgrade=1 from_commit=ba16bc8bee7715c479a7ee575ec5f7d9970a84f8
|
||||
backup_restore=1
|
||||
multi_instance=0
|
||||
port_already_use=0
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "A free, federated social networking server built on open protocols.",
|
||||
"fr": "Un serveur de réseautage social fédéré et gratuit basé sur des protocoles ouverts."
|
||||
},
|
||||
"version": "2.4.3~ynh1",
|
||||
"version": "2.4.3~ynh2",
|
||||
"url": "https://pleroma.social/",
|
||||
"upstream": {
|
||||
"license": "AGPL-3.0-only",
|
||||
|
|
|
@ -14,7 +14,7 @@ read_manifest () {
|
|||
abort_if_up_to_date () {
|
||||
version=$(read_json "/etc/yunohost/apps/$YNH_APP_INSTANCE_NAME/manifest.json" 'version' 2> /dev/null || echo '20160501-7')
|
||||
last_version=$(read_manifest 'version')
|
||||
if [ "${version}" = "${last_version}" ]; then
|
||||
if [ "${version}" = "${last_version}" ] && [ "$YNH_APP_UPGRADE_TYPE" != "UPGRADE_FORCED" ]; then
|
||||
ynh_print_info "Up-to-date, nothing to do"
|
||||
ynh_die "" 0
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue