diff options
Diffstat (limited to 'perl-install/standalone/finish-install')
-rwxr-xr-x | perl-install/standalone/finish-install | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install index e9edb2e02..7e05fc417 100755 --- a/perl-install/standalone/finish-install +++ b/perl-install/standalone/finish-install @@ -257,11 +257,11 @@ sub encrypt_home { sub ask_gnome_reboot() { my $lock_file = '/etc/draklive-install.d/gnome-reboot'; - if ( ! is_mgalive() ) { - if ( -f $lock_file ) { + if (!is_mgalive()) { + if (-f $lock_file) { run_program::run('/usr/bin/rm', '-f', $lock_file); # FIXME: convert to perl/gtk* window popup for translation support - system("/usr/bin/zenity --timeout=20 --title 'Finishing install' --no-wrap --info --text 'This system will be rebooted\nfor the changes to take effect!'"); + system('/usr/bin/zenity', '--timeout=20', '--title', 'Finishing install', '--no-wrap', '--info', '--text', 'This system will be rebooted\nfor the changes to take effect!'); run_program::run('/usr/bin/chown', '-R', 'gdm:gdm', '/var/lib/gdm'); run_program::run('/usr/sbin/ldconfig', '-X'); run_program::run('/usr/bin/systemctl', 'reboot'); |