summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
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