diff options
-rwxr-xr-x | adu-download | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/adu-download b/adu-download index dff7501..57a4716 100755 --- a/adu-download +++ b/adu-download @@ -41,7 +41,10 @@ if $CHECK_LISTBUGS && command -v apt-listbugs >/dev/null; then sed_upg_lb='s:^\([^/]\+\)/[^ ]\+ \([^ ]\+\) .*:\1/\2:' #echo "Checking for bugs in: $(echo "$upgradeable" | sed -e "$sed_upg_lb")" - bugs=$(echo "$upgradeable" | sed -e "$sed_upg_lb" | xargs apt-listbugs -q list | grep -E -- "- #[[:digit:]]+ -") + bugs=$(echo "$upgradeable" \ + | sed -e "$sed_upg_lb" \ + | xargs apt-listbugs -q list \ + | grep -E -- "- #[[:digit:]]+ -") if [ -n "$bugs" ]; then #echo "$bugs" echo "$upgrades upgrades available, but $(echo "$bugs" | wc -l) bugs exist - ignoring upgrade" |