Skip to content
Browse files

Makefile: Do not overwrite existing mirror.list (fixes #18).

  • Loading branch information...
1 parent 79d5687 commit f8c002b018895d1e012f2101cc995ed5fc6a9c39 @bdrung bdrung committed Feb 22, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
2 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

0 comments on commit f8c002b

Please sign in to comment.
Something went wrong with that request. Please try again.