u
This commit is contained in:
@@ -77,6 +77,7 @@ if [ ${operation} == "update" ] ; then
|
|||||||
then
|
then
|
||||||
if [[ $(echo "$installed" | grep -E -o "^$x$") != $x ]]
|
if [[ $(echo "$installed" | grep -E -o "^$x$") != $x ]]
|
||||||
then
|
then
|
||||||
|
grep -o '^[^#]*' ${x} > x
|
||||||
echo "Adding $x to list"
|
echo "Adding $x to list"
|
||||||
list+="$x "
|
list+="$x "
|
||||||
else
|
else
|
||||||
@@ -87,7 +88,8 @@ if [ ${operation} == "update" ] ; then
|
|||||||
|
|
||||||
if [[ -n "$list" ]]
|
if [[ -n "$list" ]]
|
||||||
then
|
then
|
||||||
pacman -S --needed --noconfirm $list
|
echo $list
|
||||||
|
#pacman -S --needed --noconfirm $list
|
||||||
else
|
else
|
||||||
echo "Nothing to install"
|
echo "Nothing to install"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user