summaryrefslogtreecommitdiffstats
path: root/urpmi.spec
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.spec')
-rw-r--r--urpmi.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpmi.spec b/urpmi.spec
index 3e8100a6..02343e39 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -46,7 +46,8 @@ make PREFIX=$RPM_BUILD_ROOT install
install -d $RPM_BUILD_ROOT/var/lib/urpmi/autoirpm.scripts
install -m 644 autoirpm.deny $RPM_BUILD_ROOT/etc/urpmi
-echo "Use urpmf instead" > $RPM_BUILD_ROOT/usr/bin/rpmf
+echo "echo 'Use urpmf instead'" > $RPM_BUILD_ROOT/usr/bin/rpmf
+chmod a+x $RPM_BUILD_ROOT/usr/bin/rpmf
cd $RPM_BUILD_ROOT/usr/bin ; mv -f rpm-find-leaves urpmi_rpm-find-leaves