Skip to content

Commit

Permalink
Make sure lxterminal is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreWohnsland committed Jul 20, 2024
1 parent a407cf5 commit 67037b3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/all_in_one.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,17 @@ else
echo "WARNING: /etc/debian_version not found. This script might not work properly on none debian systems."
fi

# ensure lxterminal is installed
echo "~ Check if lxterminal is installed ~"
lxterminal --version 2>&1 >/dev/null
LXTERMINAL_IS_AVAILABLE=$?
if [ $LXTERMINAL_IS_AVAILABLE -ne 0 ]; then
echo "Lxterminal was not found, installing it ..."
sudo apt install lxterminal
else
echo "Lxterminal is already installed!"
fi

# Now gets CocktailBerry source
echo "~ Getting the CocktailBerry project from GitHub ... ~"
echo "It will be located at ~/CocktailBerry"
Expand Down

0 comments on commit 67037b3

Please sign in to comment.