mirror of
https://github.com/YunoHost-Apps/shiori_ynh.git
synced 2024-09-03 20:26:17 +02:00
commit
8f327f0d37
2 changed files with 8 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue