From 55af09440f8fab6eb9bd5cd474aec079e4332c97 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Thu, 28 May 2015 22:20:48 +0200 Subject: trigger gnome-reboot once after a non-live install too --- draklive-install | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'draklive-install') diff --git a/draklive-install b/draklive-install index 42ac2f1..20ebf75 100755 --- a/draklive-install +++ b/draklive-install @@ -304,6 +304,10 @@ sub complete_install { my $autologin = any::get_autologin(); delete $autologin->{user}; any::set_autologin($in->do_pkgs, $autologin); + + if (-d '/var/lib/gdm') { + touch "$::prefix/etc/draklive-install.d/gnome-reboot"; + }; #- allow to install doc in disk install substInFile { undef $_ if /^\%_excludedocs/ } $::prefix . '/etc/rpm/macros'; -- cgit v1.2.1