From a83cdde5108251844e127b7c21db8f63bf398ce2 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 3 Jan 2011 15:02:19 +0000 Subject: abuild: only install .makdepends-* if there are deps --- abuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abuild.in b/abuild.in index db955f3..20f22df 100755 --- a/abuild.in +++ b/abuild.in @@ -969,7 +969,7 @@ builddeps() { fi uninstall_after=".makedepends-$pkgname $uninstall_after" - if [ -n "$install_deps" ] && [ -z "$recursive" ]; then + if [ -n "$install_deps" ] && [ -z "$recursive" ] && [ -n "$deps" ]; then # make a --simluate run first to detect missing deps # apk-tools --virtual is no goot at reporting those. $SUDO $APK add --repository "$abuildrepo" \ -- cgit v1.2.3-60-g2f50