1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shiori_ynh.git synced 2024-09-03 20:26:17 +02:00

Merge pull request #14 from navanchauhan/patch-1

fix #13
This commit is contained in:
Éric Gaspar 2022-07-23 07:32:59 +02:00 committed by GitHub
commit 8f327f0d37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -6,7 +6,7 @@
"en": "Simple bookmark manager", "en": "Simple bookmark manager",
"fr": "Gestionnaire de liens simple" "fr": "Gestionnaire de liens simple"
}, },
"version": "1.5.3~ynh1", "version": "1.5.3~ynh2",
"url": "https://github.com/go-shiori/shiori", "url": "https://github.com/go-shiori/shiori",
"upstream": { "upstream": {
"license": "MIT", "license": "MIT",

View file

@ -100,6 +100,13 @@ chmod 750 "$datadir"
chmod -R o-rwx "$datadir" chmod -R o-rwx "$datadir"
chown -R $app:www-data "$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 # SETUP SYSTEMD
#================================================= #=================================================