diff options
author | Bartłomiej Piotrowski | 2018-01-05 17:40:41 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski | 2018-01-05 17:40:41 +0100 |
commit | 325376b047a38625f182d600d8e8a61ff0567520 (patch) | |
tree | 24d0872405ed3a7b85f3df81212bf82dae260816 /unetbootin.sh | |
download | aur-325376b047a38625f182d600d8e8a61ff0567520.tar.gz |
Import from official repositories
Diffstat (limited to 'unetbootin.sh')
-rw-r--r-- | unetbootin.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/unetbootin.sh b/unetbootin.sh new file mode 100644 index 000000000000..89f840428928 --- /dev/null +++ b/unetbootin.sh @@ -0,0 +1,11 @@ +#!/bin/bash +export QT_X11_NO_MITSHM=1 +if [ $(which pkexec) ]; then + pkexec --disable-internal-agent "/usr/bin/unetbootin.elf" "$@" 2>/tmp/_polkit_error + if [ -s /tmp/_polkit_error ]; then + zenity --error --text="`cat /tmp/_polkit_error`" + rm /tmp/_polkit_error + fi +else + /usr/bin/unetbootin.elf "$@" +fi |