fix: unused var to NOG var

This commit is contained in:
Strix 2023-10-14 22:38:10 +02:00
parent f682608421
commit e19dc36a2f
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
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