diff options
author | Adam Spragg <adam@spra.gg> | 2022-04-11 14:38:27 +0100 |
---|---|---|
committer | Adam Spragg <adam@spra.gg> | 2022-04-11 14:38:27 +0100 |
commit | e7887ec3a6ae680da35c5e4d869be40e1c3e2605 (patch) | |
tree | 159081387cfc0ef5d7d3f4eea9cfc4e0b9dfeeee | |
parent | e69d9645d4525f288a8e2b8a99b2abe582ea92cc (diff) |
Split long command over multiple lines
-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" |