From c18022931dde75f8af838ac73ca236701ee09625 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 19 Jan 2009 09:19:20 +0000 Subject: Makefile: install abuild.conf if DESTDIR is set --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cc41a47..cba57fa 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ install: $(USR_BIN_FILES) abuild.conf APKBUILD.proto functions.sh for i in $(USR_BIN_FILES); do\ install -m 755 $$i $(DESTDIR)/$(prefix)/bin/$$i;\ done - if [ -z "$(DESTDIR)" ] && [ ! -f "/$(sysconfdir)"/abuild.conf ]; then\ + if [ -n "$(DESTDIR)" ] || [ ! -f "/$(sysconfdir)"/abuild.conf ]; then\ cp abuild.conf $(DESTDIR)/$(sysconfdir)/; \ fi cp APKBUILD.proto $(DESTDIR)/$(prefix)/share/abuild -- cgit v1.2.3