diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-19 09:19:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-19 09:19:20 +0000 |
commit | c18022931dde75f8af838ac73ca236701ee09625 (patch) | |
tree | cfdad30514c8f2e4891b2a5a5f3c59e46d619f6c /Makefile | |
parent | 9f8e91d57b4b77afe349a6dc5a05b36efc71a44e (diff) | |
download | abuild-c18022931dde75f8af838ac73ca236701ee09625.tar.gz abuild-c18022931dde75f8af838ac73ca236701ee09625.tar.bz2 abuild-c18022931dde75f8af838ac73ca236701ee09625.tar.xz abuild-c18022931dde75f8af838ac73ca236701ee09625.zip |
Makefile: install abuild.conf if DESTDIR is set
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |