mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
b7eab76d31
Use polkit to workaround gksudo not working. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
6 lines
131 B
Bash
6 lines
131 B
Bash
#!/bin/bash
|
|
if [ $(which pkexec) ]; then
|
|
pkexec --disable-internal-agent "/usr/sbin/gparted" "$@"
|
|
else
|
|
/usr/sbin/gparted "$@"
|
|
fi
|