mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
Merge branch 'testing' into PostgreSQL
This commit is contained in:
commit
05db215d6c
4 changed files with 6 additions and 4 deletions
|
@ -168,7 +168,7 @@
|
||||||
// if you experience weird errors and tt-rss failing to start, blank pages
|
// if you experience weird errors and tt-rss failing to start, blank pages
|
||||||
// after login, or content encoding errors, disable it.
|
// 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.
|
// Comma-separated list of plugins to load automatically for all users.
|
||||||
// System plugins have to be specified here. Please enable at least one
|
// System plugins have to be specified here. Please enable at least one
|
||||||
// authentication plugin here (auth_*).
|
// authentication plugin here (auth_*).
|
||||||
|
|
|
@ -16,6 +16,7 @@ ynh_script_progression --message="Setting up source files..." --weight=7
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
#ynh_setup_source --dest_dir="$install_dir/plugins.local/data_migration" --source_id="data_migration"
|
||||||
echo "$(ynh_app_upstream_version)" > "$install_dir/version_static.txt"
|
echo "$(ynh_app_upstream_version)" > "$install_dir/version_static.txt"
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
|
|
|
@ -43,6 +43,7 @@ then
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
#ynh_setup_source --dest_dir="$install_dir/plugins.local/data_migration" --source_id="data_migration"
|
||||||
echo "$(ynh_app_upstream_version)" > "$install_dir/version_static.txt"
|
echo "$(ynh_app_upstream_version)" > "$install_dir/version_static.txt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -79,7 +80,8 @@ then
|
||||||
ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
|
ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
|
||||||
|
|
||||||
ynh_script_progression --message="Upgrading the database..." --weight=2
|
ynh_script_progression --message="Upgrading the database..." --weight=2
|
||||||
ynh_exec_as $app php${phpversion} ${install_dir}/update.php --update-schema=force-yes
|
|
||||||
|
ynh_exec_as $app php$phpversion $install_dir/update.php --update-schema=force-yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 400 "$install_dir/config.php"
|
chmod 400 "$install_dir/config.php"
|
||||||
|
|
|
@ -6,5 +6,4 @@ test_format = 1.0
|
||||||
# Commits to test upgrade from
|
# Commits to test upgrade from
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
|
|
||||||
test_upgrade_from.009f9564.name = "Upgrade from 20220606"
|
#test_upgrade_from.009f9564.name = "Upgrade from 20220606"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue