summaryrefslogtreecommitdiff
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r--scripts/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 52a784ab..d89fd306 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -106,10 +106,12 @@ repo-elephant: $(srcdir)/repo-add.sh.in
install-data-hook:
cd $(DESTDIR)$(bindir) && \
+ $(RM) repo-elephant && \
( $(LN_S) repo-add repo-elephant || \
ln repo-add repo-elephant || \
cp repo-add repo-elephant )
cd $(DESTDIR)$(bindir) && \
+ $(RM) repo-remove && \
( $(LN_S) repo-add repo-remove || \
ln repo-add repo-remove || \
cp repo-add repo-remove )