Fix type in variable which blocked updates

Containers haven't been updated because of typo in variable name

Change-Id: Ie3d82368be4cf8030fe7393f7f70d44cd7bd77f7
This commit is contained in:
Sagi Shnaidman 2018-08-30 11:49:52 +03:00
parent 7b587fe0f5
commit bca80b37cd
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
set -ex
set -eux
if [ -f /tmp/host_packages.json ]; then
if /tmp/compare-package-json.py < /tmp/host_packages.json ; then
@ -14,7 +14,7 @@ if [ -n "$1" ] && command -v repoquery >/dev/null 2>&1; then
packages_for_update=("$(repoquery --disablerepo='*' --enablerepo=$1 --qf %{NAME} -a)")
fi
if [ -z $package_for_update ]; then
if [ -z $packages_for_update ]; then
echo "No packages were found for update..."
exit
fi