summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-06-24 13:21:18 +0200
committerErich Eckner <git@eckner.net>2019-06-24 13:21:18 +0200
commitf5aae72214838d9823754164928671b67000331c (patch)
tree17b7b7ce54334ff98d08723e6753837b9df3f3cf /archPackagesUpdate
parent99e452289e1db3271652c00eb0321d3bd4589084 (diff)
downloadarchlinuxewe-f5aae72214838d9823754164928671b67000331c.tar.xz
archPackagesUpdate: bugfix
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate1
1 files changed, 1 insertions, 0 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 407243282..82cc36df9 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -360,6 +360,7 @@ if ${aufRechenknecht}; then
unset tmpOnlyArchs
for ((i=0; i<${#onlyPackages[@]}; i++)); do
[[ "${paket}" == "${onlyPackages[${i}]%:*}" ]] || continue
+ [ -z "${onlyPackages[${i}]%%*:*}" ] || continue
tmpOnlyArchs[${#tmpOnlyArchs[@]}]="${onlyPackages[${i}]##*:}"
done
if [ ${#tmpOnlyArchs[@]} -ne 0 ]; then