[gnome-initial-setup/bilelmoussaoui/yelp-to-tour] welcome tour: replace yelp with gnome-tour



commit 67c37de80b908a3b7751396230a7fec6e4b9cc6c
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Sat Jul 11 19:55:02 2020 +0000

    welcome tour: replace yelp with gnome-tour
    
    this replaces calling yelp at startup by tour
    https://gitlab.gnome.org/GNOME/gnome-tour

 data/gnome-welcome-tour | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)
---
diff --git a/data/gnome-welcome-tour b/data/gnome-welcome-tour
index c4792962..51c9b599 100755
--- a/data/gnome-welcome-tour
+++ b/data/gnome-welcome-tour
@@ -2,20 +2,12 @@
 
 cfgdir=${XDG_CONFIG_DIR:-$HOME/.config}
 
-# Don't do anything if yelp isn't installed
-yelp_path=$(which yelp 2>/dev/null)
-if test -z "${yelp_path}"; then
+# 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
 
-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
+gnome-tour
 rm -f $cfgdir/run-welcome-tour


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]