1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shiori_ynh.git synced 2024-09-03 20:26:17 +02:00
This commit is contained in:
Navan Chauhan 2024-03-17 16:28:02 -06:00
parent cbcec2b1a0
commit 9362cacf44

View file

@ -46,7 +46,7 @@ chmod +x "$install_dir/shiori"
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
if ynh_compare_current_pacakge_version --comparison lt --version 1.50~ynh9
if ynh_compare_current_package_version --comparison lt --version 1.50~ynh9
then
ynh_script_progression --message="Migrating sqlite from version < 1.50~ynh9..." --weight=1
FTS4_EXISTS=$(sqlite3 "$data_dir/shiori.db" "SELECT sql FROM sqlite_master WHERE type = 'table' AND name = 'bookmark_content' AND sql LIKE '%USING fts4%';")