diff --git a/scripts/install b/scripts/install index 18d178d..d20a4e4 100755 --- a/scripts/install +++ b/scripts/install @@ -102,7 +102,9 @@ chown -R $app:www-data "$datadir" # Run migrate for new install go-shiori/shiori#447 pushd $final_path/ - sudo -u $app $final_path/shiori migrate + sudo -u $app $final_path/shiori --portable migrate + sudo -u $app mv shiori-data/shiori.db $datadir + rm -r shiori-date popd #=================================================