From b80db9fe6e1b435c294885394c9d4eb804fd6750 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 29 May 2013 21:34:27 -0600 Subject: aur: don't support not diffing a package if there is diffing to be done --- src/aur | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/aur') diff --git a/src/aur b/src/aur index b325974..e951e0e 100755 --- a/src/aur +++ b/src/aur @@ -59,15 +59,10 @@ main() { if [[ -f "${_pkg}/PKGBUILD" ]]; then warning "${_pkg} already existed." - # Check if we want to diff - if [[ -z "${DIFFTOOL}" ]]; then - continue - else - # Store our copy of the PKGBUILD dir - _diff="${PWD}/${_pkg}" - pushd $(mktemp --tmpdir -d ${_pkg}.XXXX) &>/dev/null - msg2 "Downloading PKGBUILD into ${PWD} for diff" - fi + # Store our copy of the PKGBUILD dir + _diff="${PWD}/${_pkg}" + pushd $(mktemp --tmpdir -d ${_pkg}.XXXX) &>/dev/null + msg2 "Downloading PKGBUILD into ${PWD} for diff" fi msg "Downloading $_pkg..." -- cgit v1.2.3-54-g00ecf