diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-10 17:18:49 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-10 17:18:49 +0100 |
commit | c17b3379cef3d6e6dd67f2a7f74a7d51a12dd935 (patch) | |
tree | 8af8167e964118d5c113f5b2e07293771ed7cbee /src | |
parent | 4e3031e85f41f2d0777c8482e2ccd43bb717f9b3 (diff) |
must be on one line. i really dont understand why, but bash complained and now not anymore...
Diffstat (limited to 'src')
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index cb9775a..1fa9261 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -407,8 +407,7 @@ interactive_select_packages() { local _pkgtmp="$($PACMAN -Sl core | awk '{print $2}')" # all packages in core repository local _pkglist='' - $PACMAN -Si $_pkgtmp | \ - awk '/^Name/{ printf("%s ",$3) } /^Group/{ print $3 }' > $ANSWER + $PACMAN -Si $_pkgtmp | awk '/^Name/{ printf("%s ",$3) } /^Group/{ print $3 }' > $ANSWER while read pkgname pkgcat; do # check if this package is in a selected group # slightly ugly but sorting later requires newlines in the variable |