diff options
author | caltlgin | 2020-11-02 14:33:53 +1300 |
---|---|---|
committer | caltlgin | 2020-11-02 14:33:53 +1300 |
commit | dc1cab947fcd66c1c7bde07d34fc1960a8be5c82 (patch) | |
tree | ed5892489941b87a5e7c6a5dac92f066cef94c86 /unetbootin.sh | |
parent | c203e093e6ddb22e6afdb6cb95a55589d9c4c2d5 (diff) | |
download | aur-dc1cab947fcd66c1c7bde07d34fc1960a8be5c82.tar.gz |
Add -qt4 suffix to lupdate and lrelease commands
Diffstat (limited to 'unetbootin.sh')
-rw-r--r-- | unetbootin.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/unetbootin.sh b/unetbootin.sh index 8296ed5aa8c9..4e85a7769f7b 100644 --- a/unetbootin.sh +++ b/unetbootin.sh @@ -2,15 +2,8 @@ export QT_X11_NO_MITSHM=1 -ELF_FILE='/usr/bin/unetbootin.elf' -TMP_FILE='/tmp/_polkit_error' - if [ $(command -v pkexec) ]; then - pkexec --disable-internal-agent "${ELF_FILE}" "$@" 2>"${TMP_FILE}" - if [ -s "${TMP_FILE}" ]; then - zenity --error --text="$(cat ${TMP_FILE})" - rm -f "${TMP_FILE}" - fi + pkexec --disable-internal-agent '/usr/bin/unetbootin.elf' "$@" else - "${ELF_FILE}" "$@" + '/usr/bin/unetbootin.elf' "$@" fi |