Skip to content
Snippets Groups Projects
Commit e04a69e2 authored by Natanael Copa's avatar Natanael Copa
Browse files

Makefile: do not overwrite abuild.conf if it exist

parent 576541e3
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,9 @@ install: abuild abuild.conf APKBUILD.proto functions.sh ...@@ -18,7 +18,9 @@ install: abuild abuild.conf APKBUILD.proto functions.sh
mkdir -p $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(sysconfdir) \ mkdir -p $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(sysconfdir) \
$(DESTDIR)/$(datadir) $(DESTDIR)/$(datadir)
cp abuild buildrepo $(DESTDIR)/$(prefix)/bin/ cp abuild buildrepo $(DESTDIR)/$(prefix)/bin/
cp abuild.conf $(DESTDIR)/$(sysconfdir)/ if [ -z "$(DESTDIR)" ] && [ ! -f "/$(sysconfdir)"/abuild.conf ]; then\
cp abuild.conf $(DESTDIR)/$(sysconfdir)/; \
fi
cp APKBUILD.proto $(DESTDIR)/$(prefix)/share/abuild cp APKBUILD.proto $(DESTDIR)/$(prefix)/share/abuild
cp functions.sh $(DESTDIR)/$(datadir)/ cp functions.sh $(DESTDIR)/$(datadir)/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment