aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-05-27 18:40:53 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-05-27 18:40:53 +0000
commitc0d23a037bac40841234549fa01842db4edeef1b (patch)
treee34a45027d0ddf8d8c6361893a2e90df9f625df8
parent26f902cb5c6b5ab65496ff00184da29d1b4456b7 (diff)
downloadrpmdrake-c0d23a037bac40841234549fa01842db4edeef1b.tar
rpmdrake-c0d23a037bac40841234549fa01842db4edeef1b.tar.gz
rpmdrake-c0d23a037bac40841234549fa01842db4edeef1b.tar.bz2
rpmdrake-c0d23a037bac40841234549fa01842db4edeef1b.tar.xz
rpmdrake-c0d23a037bac40841234549fa01842db4edeef1b.zip
fix hack
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e5baf8eb..2e04df2d 100644
--- a/Makefile
+++ b/Makefile
@@ -34,10 +34,10 @@ install: $(ALL)
done
install -d $(SBINDIR)
install rpmdrake edit-urpm-sources.pl $(SBINDIR)
- ln -s edit-urpm-sources.pl $(SBINDIR)/edit-urpm-medias
+ ln -sf edit-urpm-sources.pl $(SBINDIR)/edit-urpm-medias
perl -pi -e 's|use strict.*||;s|use vars.*||;s|use diagnostics.*||;s|#-.*||' $(SBINDIR)/*
- ln -s -f rpmdrake $(SBINDIR)/rpmdrake-remove
- ln -s -f rpmdrake $(SBINDIR)/MandrakeUpdate
+ ln -sf rpmdrake $(SBINDIR)/rpmdrake-remove
+ ln -sf rpmdrake $(SBINDIR)/MandrakeUpdate
install -d $(BINDIR)
ln -sf $(RELATIVE_SBIN)/rpmdrake $(BINDIR)/rpmdrake
ln -sf $(RELATIVE_SBIN)/rpmdrake-remove $(BINDIR)/rpmdrake-remove
@@ -70,6 +70,7 @@ GIHOME = /home/gc/cvs/gi
hack:
cp -f $(SOFTHOME)/rpmdrake/rpmdrake $(SOFTHOME)/rpmdrake/edit-urpm-sources.pl /usr/sbin
+ ln -sf edit-urpm-sources.pl /usr/sbin/edit-urpm-medias
cp -f $(SOFTHOME)/rpmdrake/rpmdrake.pm $(shell rpm --eval %perl_vendorlib)
cp -f $(GIHOME)/perl-install/ugtk2.pm /usr/lib/libDrakX
perl -pi -e 's|use strict.*||;s|use vars.*||;s|use diagnostics.*||' /usr/lib/libDrakX/*.pm /usr/sbin/{rpmdrake,edit-urpm-sources.pl}