From 7298f5261526384e4d95b267e502713494375dd5 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 17 Dec 2016 14:01:06 +0000 Subject: Use polkit instead of consolehelper to gain root access. Rather than spending lots of time figuring out why consolehelper no longer works in GNOME. --- draklive-install | 2 ++ 1 file changed, 2 insertions(+) (limited to 'draklive-install') diff --git a/draklive-install b/draklive-install index 42ac2f1..1a941a5 100755 --- a/draklive-install +++ b/draklive-install @@ -343,6 +343,8 @@ sub clean_live_system_hds() { sub finish_installation { my ($fstab) = @_; + #- remove the extra authorisation draklive added + run_program::rooted($::prefix, 'sed', '-i', '/for draklive-install/d', '/etc/pam.d/polkit-1'); sync_logs(); #- cleanly umount here, it will avoid fs journals to be corrupted after a hackish reboot umount_all($fstab); -- cgit v1.2.1