From 779d5f1f59ff64e426c8b6c265801fe075463fd2 Mon Sep 17 00:00:00 2001 From: Botspot Date: Sun, 4 Oct 2020 22:10:46 -0500 Subject: [PATCH] apt now uses --no-install-recommends --- pkg-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg-install b/pkg-install index 4be7699..c0c21ce 100755 --- a/pkg-install +++ b/pkg-install @@ -53,7 +53,7 @@ if [ $exitcode != 0 ] || [ ! -z "$errors" ];then exit 1 fi -INSTALL_LIST="$(sudo apt-get install --dry-run $PKG_LIST | sed -n '/The following NEW packages/,/to remove/p' | sed -e '2,$!d' -e '$d' | tr -d '*' | tr '\n' ' ')" +INSTALL_LIST="$(sudo apt-get install --no-install-recommends --dry-run $PKG_LIST | sed -n '/The following NEW packages/,/to remove/p' | sed -e '2,$!d' -e '$d' | tr -d '*' | tr '\n' ' ')" if [ ! -z "$INSTALL_LIST" ];then #save that list of installed packages in the program directory for future removal @@ -80,7 +80,7 @@ if [ ! -z "$INSTALL_LIST" ];then # INSTALL_LIST="${INSTALL_LIST} ${i}" #add package to install list # fi #done - INSTALL_LIST="$(sudo apt-get install --dry-run $PKG_LIST | sed -n '/The following packages/,/to remove/p' | sed -e '2,$!d' -e '$d' | tr -d '*' | tr '\n' ' ')" + INSTALL_LIST="$(sudo apt-get install --no-install-recommends --dry-run $PKG_LIST | sed -n '/The following packages/,/to remove/p' | sed -e '2,$!d' -e '$d' | tr -d '*' | tr '\n' ' ')" if [ ! -z $INSTALL_LIST ];then