mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Fix backup fail on yunohost 2.6 + update mastodon version to 1.4.7
This commit is contained in:
parent
daa700336a
commit
7cd6bc84ac
2 changed files with 3 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
"en": "Mastodon is a free, open-source social network.",
|
||||
"fr": "Mastodon est un réseau social gratuit et open source."
|
||||
},
|
||||
"version": "1.4.1",
|
||||
"version": "1.4.7",
|
||||
"url": "https://github.com/tootsuite/mastodon",
|
||||
"license": "AGPL v3.0",
|
||||
"maintainer": {
|
||||
|
|
|
@ -37,4 +37,5 @@ sudo su - postgres <<COMMANDS
|
|||
pg_dump --role=mastodon -U postgres --no-password mastodon_production > mastodon_db.sql
|
||||
COMMANDS
|
||||
ynh_backup "/var/lib/postgresql/${app}_db.sql" "${app}_db.sql"
|
||||
ynh_secure_remove /var/lib/postgresql/mastodon_db.sql
|
||||
# Fix backup fail on yunohost 2.6
|
||||
#ynh_secure_remove /var/lib/postgresql/mastodon_db.sql
|
||||
|
|
Loading…
Reference in a new issue