summaryrefslogtreecommitdiffstats
path: root/data/gnome-welcome-tour
diff options
context:
space:
mode:
Diffstat (limited to 'data/gnome-welcome-tour')
-rwxr-xr-xdata/gnome-welcome-tour13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/gnome-welcome-tour b/data/gnome-welcome-tour
new file mode 100755
index 0000000..51c9b59
--- /dev/null
+++ b/data/gnome-welcome-tour
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+cfgdir=${XDG_CONFIG_DIR:-$HOME/.config}
+
+# Don't do anything if gnome-tour isn't installed
+gnome_tour_path=$(which gnome-tour 2>/dev/null)
+if test -z "${gnome_tour_path}"; then
+ rm -f $cfgdir/run-welcome-tour
+ exit
+fi
+
+gnome-tour
+rm -f $cfgdir/run-welcome-tour