blob: 89f840428928b256cb6f4f91dc7f7f86f1fc2d81 (
plain)
1
2
3
4
5
6
7
8
9
10
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
|