1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/plume_ynh.git synced 2024-09-03 20:15:54 +02:00

Fix restore

This commit is contained in:
yalh76 2019-04-04 01:36:54 +02:00
parent c494891443
commit b7996a2bfa

View file

@ -15,6 +15,7 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_clean_setup () {
read -p "key"
ynh_clean_check_starting
}
# Exit if an error occurs during the execution of the script
@ -103,13 +104,6 @@ ynh_restore_file "/etc/systemd/system/$app.service"
systemctl enable $app.service
systemctl daemon-reload
#Fix Your search index is locked.
export PATH="$PATH:$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin"
pushd $final_path/$app
sudo -u "$app" env PATH=$PATH plm search unlock
popd
#=================================================
# CREATE LOG FOLDER
#=================================================