Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Stifler6996/apt-mirror.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@debian.org>2014-02-22 18:25:56 +0400
committerBenjamin Drung <bdrung@debian.org>2014-02-22 18:25:56 +0400
commitf8c002b018895d1e012f2101cc995ed5fc6a9c39 (patch)
tree5321f255f8eb5f7d497118e28fd87264f3b4eb9e /Makefile
parent79d5687c5e96972f5d332597905227acac55a960 (diff)
Makefile: Do not overwrite existing mirror.list (fixes #18).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 80ab4d4..3ca8143 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ install:
install -m 755 -D apt-mirror $(DESTDIR)$(PREFIX)/bin/apt-mirror
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1/
pod2man apt-mirror > $(DESTDIR)$(PREFIX)/share/man/man1/apt-mirror.1
- install -m 644 -D mirror.list $(DESTDIR)/etc/apt/mirror.list
+ if test ! -f $(DESTDIR)/etc/apt/mirror.list; then install -m 644 -D mirror.list $(DESTDIR)/etc/apt/mirror.list; fi
mkdir -p $(DESTDIR)$(BASE_PATH)/mirror
mkdir -p $(DESTDIR)$(BASE_PATH)/skel
mkdir -p $(DESTDIR)$(BASE_PATH)/var