[gnome-initial-setup/shell/4765: 10/362] Only remove run-welcome-tour file after the video has played



commit c61f17f3c77651f92a3adb367169065cf22f5dd1
Author: Cosimo Cecchi <cosimo endlessm com>
Date:   Mon Nov 4 16:20:40 2013 -0800

    Only remove run-welcome-tour file after the video has played
    
    So the shell also has the chance to see it

 data/gnome-welcome-tour.in |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/data/gnome-welcome-tour.in b/data/gnome-welcome-tour.in
index cd4c243..0692aa1 100644
--- a/data/gnome-welcome-tour.in
+++ b/data/gnome-welcome-tour.in
@@ -7,8 +7,6 @@ full_locale=$LANG
 locale=`echo $full_locale | sed -e 's/\..*//'`
 lang=`echo $locale | sed -e 's/_.*//'`
 
-rm -f $cfgdir/run-welcome-tour
-
 for name in $locale $lang 'C'; do
         if test -f "$prefix/$name/$suffix" ; then
                 intro_path="$prefix/$name/$suffix"
@@ -17,3 +15,4 @@ for name in $locale $lang 'C'; do
 done
 
 @LIBEXECDIR@/gnome-initial-setup-player $intro_path
+rm -f $cfgdir/run-welcome-tour


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