summaryrefslogtreecommitdiffstats
path: root/debian/patches/revert_gnome_tour.patch
blob: 09db0d3cf883e8ae7ee09ea2a2e47c9b4579eb35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff --git a/data/gnome-welcome-tour b/data/gnome-welcome-tour
index 51c9b599..c4792962 100755
--- a/data/gnome-welcome-tour
+++ b/data/gnome-welcome-tour
@@ -2,12 +2,20 @@
 
 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
+# Don't do anything if yelp isn't installed
+yelp_path=$(which yelp 2>/dev/null)
+if test -z "${yelp_path}"; then
     rm -f $cfgdir/run-welcome-tour
     exit
 fi
 
-gnome-tour
+if [ ! -d $cfgdir/yelp ]; then
+        mkdir $cfgdir/yelp
+        cat <<EOF >>$cfgdir/yelp/yelp.cfg
+[documents/help%3Agnome-help]
+geometry=(1024, 709)
+EOF
+fi
+
+yelp help:gnome-help/getting-started
 rm -f $cfgdir/run-welcome-tour