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 --- NEWS | 2 ++ draklive-install | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/NEWS b/NEWS index 9a21b5a..6f99463 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- trigger gnome-reboot once after a non-live install too + 2.5 - better reporting of insufficient space (mga#15257) 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