mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-10 06:07:33 +00:00
Makefile: do not overwrite abuild.conf if it exist
This commit is contained in:
parent
576541e3f2
commit
e04a69e213
4
Makefile
4
Makefile
@ -18,7 +18,9 @@ install: abuild abuild.conf APKBUILD.proto functions.sh
|
||||
mkdir -p $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(sysconfdir) \
|
||||
$(DESTDIR)/$(datadir)
|
||||
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 functions.sh $(DESTDIR)/$(datadir)/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user