slackbuilds_ponce/system/gparted/gparted_polkit
Erik Hanson b7eab76d31 system/gparted: Updated for version 0.17.0.
Use polkit to workaround gksudo not
  working.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2013-12-14 10:53:04 -06:00

6 lines
131 B
Bash

#!/bin/bash
if [ $(which pkexec) ]; then
pkexec --disable-internal-agent "/usr/sbin/gparted" "$@"
else
/usr/sbin/gparted "$@"
fi