This commit is contained in:
tuxwarrior
2024-05-01 15:44:48 -05:00
parent 14a2b2e00d
commit 8fcc2b5ef1
2 changed files with 4 additions and 2 deletions

View File

@@ -17,4 +17,4 @@ ttf-nerd-fonts-symbols
hypridle hypridle
hyprlock hyprlock
aur:hyprdim aur:hyprdim
yay # test this thing yay # test_this_thing

View File

@@ -64,7 +64,9 @@ if [ ${operation} == "update" ] ; then
fi fi
# https://stackoverflow.com/questions/30988586/creating-an-array-from-a-text-file-in-bash # 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) installed=$(pacman -Qq)
list=() list=()