summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpmi.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.spec b/urpmi.spec
index 8b517a97..5d25cc6e 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -129,7 +129,7 @@ install -m 644 %{name}.bash-completion %{buildroot}%{_sysconfdir}/bash_completio
%if %{allow_gurpmi}
mkdir -p %{buildroot}%{_menudir}
cat << EOF > %{buildroot}%{_menudir}/gurpmi
-?package(gurpmi): command="/usr/bin/gurpmi" \
+?package(gurpmi): command="%{_bindir}/gurpmi" \
needs="x11" \
section=".hidden" \
title="Software installer" \