summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-05-28 22:20:48 +0200
committerThomas Backlund <tmb@mageia.org>2015-05-28 22:20:48 +0200
commit55af09440f8fab6eb9bd5cd474aec079e4332c97 (patch)
tree7c4b575d478addba345e43e4d6d4033a50720ef4
parent9c52dea43162301bd92297c773530d881d7e2f27 (diff)
downloaddraklive-install-55af09440f8fab6eb9bd5cd474aec079e4332c97.tar
draklive-install-55af09440f8fab6eb9bd5cd474aec079e4332c97.tar.gz
draklive-install-55af09440f8fab6eb9bd5cd474aec079e4332c97.tar.bz2
draklive-install-55af09440f8fab6eb9bd5cd474aec079e4332c97.tar.xz
draklive-install-55af09440f8fab6eb9bd5cd474aec079e4332c97.zip
trigger gnome-reboot once after a non-live install too
-rw-r--r--NEWS2
-rwxr-xr-xdraklive-install4
2 files changed, 6 insertions, 0 deletions
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';