diff --git a/README.md b/README.md index 603d6b9..f49117b 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Shiori is a simple bookmarks manager written in Go language. Intended as a simpl [Shiori Web Extension](https://github.com/go-shiori/shiori-web-ext) is a simple extension for managing bookmarks using Shiori. This extension is intended to integrate Shiori with your favorite web browser. This way, you can save and remove bookmarks in Shiori without switching from your current page. -**Shipped version:** 1.5.3~ynh1 +**Shipped version:** 1.5.3~ynh2 **Demo:** https://demo.example.com diff --git a/README_fr.md b/README_fr.md index 79483a9..bfdaa6f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -30,7 +30,7 @@ Shiori is a simple bookmarks manager written in Go language. Intended as a simpl [Shiori Web Extension](https://github.com/go-shiori/shiori-web-ext) is a simple extension for managing bookmarks using Shiori. This extension is intended to integrate Shiori with your favorite web browser. This way, you can save and remove bookmarks in Shiori without switching from your current page. -**Version incluse :** 1.5.3~ynh1 +**Version incluse :** 1.5.3~ynh2 **Démo :** https://demo.example.com diff --git a/manifest.json b/manifest.json index 060d52c..c2480f9 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Simple bookmark manager", "fr": "Gestionnaire de liens simple" }, - "version": "1.5.3~ynh1", + "version": "1.5.3~ynh2", "url": "https://github.com/go-shiori/shiori", "upstream": { "license": "MIT", diff --git a/scripts/install b/scripts/install index c38439b..4ed7ed5 100755 --- a/scripts/install +++ b/scripts/install @@ -100,6 +100,13 @@ chmod 750 "$datadir" chmod -R o-rwx "$datadir" chown -R $app:www-data "$datadir" +# Run migrate for new install go-shiori/shiori#447 +pushd $final_path/ + ynh_exec_as $app $final_path/shiori --portable migrate + ynh_exec_as $app mv shiori-data/shiori.db $datadir + ynh_secure_remove --file=$final_path/shiori-data +popd + #================================================= # SETUP SYSTEMD #=================================================