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

Update install

This commit is contained in:
ericgaspar 2023-01-21 09:40:25 +01:00
parent 78550a3894
commit b97cd1f187

View file

@ -101,11 +101,11 @@ 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
#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