diff options
Diffstat (limited to 'extra/gparted/gparted_polkit')
-rw-r--r-- | extra/gparted/gparted_polkit | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/gparted/gparted_polkit b/extra/gparted/gparted_polkit new file mode 100644 index 000000000..d9f94d1bd --- /dev/null +++ b/extra/gparted/gparted_polkit @@ -0,0 +1,6 @@ +#!/bin/bash +if [ $(which pkexec) ]; then + pkexec --disable-internal-agent "/usr/bin/gparted" "$@" +else + /usr/bin/gparted "$@" +fi |