Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit f8c002b018895d1e012f2101cc995ed5fc6a9c39 1 parent 79d5687
@bdrung bdrung authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.