summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall_widgets.sh4
-rw-r--r--xwalk_widgets_preinstall.service4
2 files changed, 5 insertions, 3 deletions
diff --git a/install_widgets.sh b/install_widgets.sh
index ee28e6f..52f4e8d 100755
--- a/install_widgets.sh
+++ b/install_widgets.sh
@@ -41,7 +41,9 @@ function do_install() {
info "------------- wrt_widgets install end --------------"
}
-do_install >>~/.applications/install.log 2>&1 </dev/null &
+do_install >>~/.applications/install.log 2>&1
+
+touch ~/.applications/install_done
# never fail
exit 0
diff --git a/xwalk_widgets_preinstall.service b/xwalk_widgets_preinstall.service
index e3d17d1..e3daa91 100644
--- a/xwalk_widgets_preinstall.service
+++ b/xwalk_widgets_preinstall.service
@@ -1,7 +1,7 @@
[Unit]
Description=Installation of pre-installed widgets
-After=dbus.service
-ConditionPathExists=!%h/.config/xwalk-service/applications.db
+After=xwalk.service
+ConditionPathExists=!%h/.applications/install_done
[Service]
Type=oneshot