Improvement under Linux and build improvements
1. Fix for crash when installing under Install syslinux tab 2. Prevent read only filesystem under Linux 3. Corrected setup file copy location preventing crash 4. Improved multibootusb-pkexec script for working under rpm and deb based distros 5. Create correct policy file during build time 6. Modified readme file to point to improved guidepull/157/head
parent
252dee154d
commit
4a41cbbc79
@ -1,6 +1,22 @@
|
||||
#!/bin/bash
|
||||
# Generic wrapper for locating multibootusb file and execute pkexec accordingly
|
||||
# Bin pat of this file and policy file have to match
|
||||
|
||||
if [ $(which pkexec) ]; then
|
||||
pkexec --disable-internal-agent "/usr/bin/multibootusb" "$@"
|
||||
if [ -f /usr/bin/multibootusb ]; then
|
||||
pkexec --disable-internal-agent "/usr/bin/multibootusb" "$@"
|
||||
fi
|
||||
|
||||
if [ -f /usr/local/bin/multibootusb ]; then
|
||||
pkexec --disable-internal-agent "/usr/local/bin/multibootusb" "$@"
|
||||
fi
|
||||
else
|
||||
/usr/bin/multibootusb "$@"
|
||||
fi
|
||||
if [ -f /usr/bin/multibootusb ]; then
|
||||
/usr/bin/multibootusb "$@"
|
||||
fi
|
||||
|
||||
if [ -f /usr/local/bin/multibootusb ]; then
|
||||
/usr/local/bin/multibootusb "$@"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue