summaryrefslogtreecommitdiffstats
path: root/draklive-install
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 /draklive-install
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
Diffstat (limited to 'draklive-install')
-rwxr-xr-xdraklive-install4
1 files changed, 4 insertions, 0 deletions
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';