mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
...
This commit is contained in:
@@ -115,12 +115,10 @@ function check_for_updates() {
|
|||||||
|
|
||||||
function yad_install() {
|
function yad_install() {
|
||||||
# Find out if we have yad and install if not
|
# Find out if we have yad and install if not
|
||||||
echo "Yad is used to create the interactive menus this program uses."
|
|
||||||
echo "If yad is not installed, we will attempt to install it now."
|
|
||||||
sleep 2
|
sleep 2
|
||||||
if ! hash yad 2>/dev/null; then
|
if ! hash yad 2>/dev/null; then
|
||||||
sudo apt-get -y install yad ||
|
sudo apt-get -y install yad ||
|
||||||
{ echo "Yad install failed. Yad is required to run this installer. Please install yad and try again or check your internet connection."; exit 1; }
|
{ echo -e ${ERROR}"Yad install failed. Yad is required to run this installer. Please install yad and try again or check your internet connection."${NOCOLOR}; exit 1; }
|
||||||
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user