diff options
author | gmes78 | 2017-07-22 21:34:19 +0100 |
---|---|---|
committer | gmes78 | 2017-07-22 21:34:19 +0100 |
commit | 7d6ffc888bd1f0b458857742f210f1e084247d76 (patch) | |
tree | 35a266d4792b577f4213e32791e8c43d34b411f5 /usbmaker_polkit | |
download | aur-usbmaker.tar.gz |
Initial commit
Diffstat (limited to 'usbmaker_polkit')
-rwxr-xr-x | usbmaker_polkit | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usbmaker_polkit b/usbmaker_polkit new file mode 100755 index 000000000000..87bddf885f1e --- /dev/null +++ b/usbmaker_polkit @@ -0,0 +1,6 @@ +#!/bin/bash +if [ $(which pkexec) ]; then + pkexec --disable-internal-agent "/usr/bin/usbmaker" "$@" +else + /usr/bin/usbmaker "$@" +fi |