summaryrefslogtreecommitdiffstats
path: root/debian/patches/revert_gnome_tour.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:09:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:09:05 +0000
commitca60a76df5ae992d4e32a15d1ce34e02ca357198 (patch)
treebce7bbfbcb57785f417eb17f7bda0a8004495143 /debian/patches/revert_gnome_tour.patch
parentAdding upstream version 3.38.4. (diff)
downloadgnome-initial-setup-ca60a76df5ae992d4e32a15d1ce34e02ca357198.tar.xz
gnome-initial-setup-ca60a76df5ae992d4e32a15d1ce34e02ca357198.zip
Adding debian version 3.38.4-1.debian/3.38.4-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/revert_gnome_tour.patch')
-rw-r--r--debian/patches/revert_gnome_tour.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/revert_gnome_tour.patch b/debian/patches/revert_gnome_tour.patch
new file mode 100644
index 0000000..09db0d3
--- /dev/null
+++ b/debian/patches/revert_gnome_tour.patch
@@ -0,0 +1,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