1 --- aurcheck.old/src/aurcheck 1970-01-01 05:14:21.000000000 -0400
2 +++ aurcheck/src/aurcheck 2011-02-07 15:38:10.000000000 -0400
6 aurver="$(eval "$PKGBUILD" &>/dev/null; echo "$pkgver-$pkgrel")" || true
7 - localver="$(LANG=C pacman -Qi "$pkgname" | awk '/^Version/ {print $3}')"
8 + localver="$(LANG=C $PACMAN -Qi "$pkgname" | awk '/^Version/ {print $3}')"
9 if [[ "$ONLYVER" == "true" ]]; then
10 aurver="$(echo "$aurver" | cut -d'-' -f1)"
11 localver="$(echo "$localver" | cut -d'-' -f1)"
13 echo -e "${GREEN}==> ${NC}Searching for new version on AUR"
16 +# Set pacman path. (Allows to override pacman, for example, for 32-bit chroots.)
17 +PACMAN=${PACMAN:-pacman}
20 -for pkg in $(pacman -Qqm); do
21 +for pkg in $($PACMAN -Qqm); do