fix: unused var to NOG var

This commit is contained in:
Didier Slof 2023-03-07 12:13:21 +01:00
parent eff3dffdce
commit 78e3c81e0d
Signed by: didier
GPG key ID: 01E71F18AA4398E5
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,4 @@
curl
vim
zsh
docker

View file

@ -10,7 +10,7 @@ while read -r pkg; do
_APPLICATIONS="$_APPLICATIONS $pkg"
done < "$PACKAGE_LIST"
if [ "${GRAPHICAL:-no}" = "yes" ]; then
if [ "${NO_GRAPHICS:-no}" = "no" ]; then
if [ -f "$GRAPHICAL_PACKAGE_LIST" ]; then
while read -r pkg; do
[ -z "$pkg" ] && continue