Commit b53edc09 authored by fsmithred's avatar fsmithred

9.4.1

parent 95b8e667
#!/usr/bin/env bash
#
# New wrapper for refractainstaller-uefi/yad 9.2.2
# New wrapper for refractainstaller-yad 9.4.0 (uefi/bios)
TEXTDOMAIN=refractainstaller-gui
TEXTDOMAINDIR=/usr/share/locale/
if ! [[ -f /usr/bin/yad ]]; then
xterm -hold -fa mono -fs 14 -geometry 80x20+0+0 -e echo $"
Yad is not installed, Install it or run 'refractainstaller' from a
terminal or console for the CLI version.
" &
xterm -hold -fa mono -fs 14 -geometry 80x20+0+0 -e 'echo $"Yad is not installed.
Install it or run the text-only refractainstaller in a root terminal."' &
exit 0
fi
if [[ -d /sys/firmware/efi ]]; then
installer="/usr/bin/refractainstaller-uefi"
else
installer="/usr/bin/refractainstaller-yad"
fi
installer="/usr/bin/refractainstaller-yad -d"
yad --question --title=$"Admin Mode" --button=$" use 'su' ":0 \
--button=$" use sudo ":1 --button=$"Exit":2 \
--text=$"What method do you use to become Administrator / root?
--button=$" use sudo ":1 --button=$"Exit":2 --borders=10 \
--text=$"What method does the live system use for Administrator / root privileges?
Note: This is only for the purpose of starting this script.
It does not change anything.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment