summaryrefslogtreecommitdiff
path: root/system/winusb/winusbgui_polkit
diff options
context:
space:
mode:
authorRuan K. F <ruan.klein@gmail.com>2015-01-13 06:59:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-13 06:59:44 +0700
commit36d6ed03552f912ad82c36dc37036766c5da93c8 (patch)
tree6aa1841553c1a5a30d11c06933c38b7c29213f65 /system/winusb/winusbgui_polkit
parent2829844cc26441ca03164164f89bbe3f9cac4db7 (diff)
downloadslackbuilds-36d6ed03552f912ad82c36dc37036766c5da93c8.tar.gz
system/winusb: Added (USB Stick Windows Installer Creator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/winusb/winusbgui_polkit')
-rw-r--r--system/winusb/winusbgui_polkit6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/winusb/winusbgui_polkit b/system/winusb/winusbgui_polkit
new file mode 100644
index 0000000000..3474d9c9fd
--- /dev/null
+++ b/system/winusb/winusbgui_polkit
@@ -0,0 +1,6 @@
+#!/bin/sh
+if (which pkexec >/dev/null 2>&1); then
+ pkexec --disable-internal-agent /usr/bin/winusbgui "$@"
+else
+ /usr/bin/winusbgui "$@"
+fi