u
This commit is contained in:
@@ -64,7 +64,7 @@ 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 < grep -o '^[^#]*' ${trg_file}
|
mapfile -t packages < sed '/^[[:blank:]]*#/d;s/#.*//' ${trg_file}
|
||||||
|
|
||||||
installed=$(pacman -Qq)
|
installed=$(pacman -Qq)
|
||||||
list=()
|
list=()
|
||||||
|
|||||||
Reference in New Issue
Block a user