Commit e17949fc authored by Adrien Plazas's avatar Adrien Plazas

gnome-welcome-tour: Don't run the welcome tour

Don't run the welcome tour, as we don't install it because we don't have
a phone-focused version. This avoids showing Yelp empty to the users
after the initial setup.
parent dbcaedd5
Pipeline #34209 failed with stage
in 0 seconds
#! /bin/sh
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
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
rm -f $cfgdir/run-welcome-tour
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment