mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +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
|