1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00

data_migration

This commit is contained in:
Éric Gaspar 2023-03-18 15:10:57 +01:00
parent cb3b8bf6f5
commit 1aea23fb52
3 changed files with 7 additions and 1 deletions

View file

@ -168,7 +168,7 @@
// if you experience weird errors and tt-rss failing to start, blank pages
// after login, or content encoding errors, disable it.
putenv('TTRSS_PLUGINS=auth_internal, note');
putenv('TTRSS_PLUGINS=auth_internal, note, data_migration');
// Comma-separated list of plugins to load automatically for all users.
// System plugins have to be specified here. Please enable at least one
// authentication plugin here (auth_*).

View file

@ -43,6 +43,10 @@ ram.runtime = "50M"
url = "https://git-gitea.tt-rss.org/fox/tt-rss/archive/cddbf5bf5a7e2c433275a3bec089f318d4f211af.tar.gz"
sha256 = "41df4c5902a7604acbe330f70a2fbef961338f6cf8798156de10adbc321f8e37"
[resources.sources.data_migration]
url = "https://dev.tt-rss.org/tt-rss/ttrss-data-migration/archive/6dac32af20dc303ea2e6e03f3a9492ee3ace6a8a.tar.gz"
sha256 = "dba5638f44820393e795e8dbf5ffdafeb061913aef245ce630ddddfbc26c32c4"
[resources.system_user]
[resources.install_dir]

View file

@ -62,6 +62,8 @@ then
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir"
echo "$(ynh_app_upstream_version)" > "$install_dir/version_static.txt"
ynh_setup_source --dest_dir="$install_dir/plugins.local/data_migration" --source="data_migration"
fi
chmod -R o-rwx "$install_dir"