summaryrefslogtreecommitdiff
path: root/update-archlinux32-package
diff options
context:
space:
mode:
Diffstat (limited to 'update-archlinux32-package')
-rwxr-xr-xupdate-archlinux32-package8
1 files changed, 4 insertions, 4 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package
index ba06e72..d8be21a 100755
--- a/update-archlinux32-package
+++ b/update-archlinux32-package
@@ -147,15 +147,15 @@ case ${update_path} in
grep '^pkgver=' "${git_repo_path}/${repo}/${pkgname}/PKGBUILD" | \
cut -d'=' -f2
)
- if [ "${old_pkgver}" = "${new_pkgver}" ]; then
- >&2 echo 'nothing to do'
- exit
- fi
new_pkgver=$(
printf '%s\n' "${archlinuxewe_PKGBUILD}" | \
grep '^pkgver=' | \
cut -d'=' -f2
)
+ if [ "${old_pkgver}" = "${new_pkgver}" ]; then
+ >&2 echo 'nothing to do'
+ exit
+ fi
sha512sums=$(
cd "${archlinuxewe_git_path}/${pkgname}32"
makepkg -g | \