From 8fcc2b5ef1cccf51ff2993801ba7c8abebbca780 Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Wed, 1 May 2024 15:44:48 -0500 Subject: [PATCH] u --- dots/archinstall/t470p/packages.txt | 2 +- scripts/99_software.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dots/archinstall/t470p/packages.txt b/dots/archinstall/t470p/packages.txt index 7938636..e55e0f7 100644 --- a/dots/archinstall/t470p/packages.txt +++ b/dots/archinstall/t470p/packages.txt @@ -17,4 +17,4 @@ ttf-nerd-fonts-symbols hypridle hyprlock aur:hyprdim -yay # test this thing +yay # test_this_thing diff --git a/scripts/99_software.sh b/scripts/99_software.sh index d14425e..16486ad 100644 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -64,7 +64,9 @@ if [ ${operation} == "update" ] ; then fi # https://stackoverflow.com/questions/30988586/creating-an-array-from-a-text-file-in-bash - mapfile -t packages < sed '/^[[:blank:]]*#/d;s/#.*//' ${trg_file} + sed '/^[[:blank:]]*#/d;s/#.*//' ${trg_file} + + mapfile -t packages < ${trg_file} installed=$(pacman -Qq) list=()