summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdkonline.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/mdkonline.spec b/mdkonline.spec
index a9c0c897..96e83ecd 100644
--- a/mdkonline.spec
+++ b/mdkonline.spec
@@ -32,9 +32,10 @@ hardware support/enhancements and other high value services.
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT install
-#symbolic link to drakonline
-ln -sf %_sbindir/mdkonline %buildroot/%_sbindir/drakonline
-ln -sf %_sbindir/mdkonline %buildroot/%_prefix/X11R6/bin/mdkonline
+#symbolic link to drakonline and older path
+mkdir -p %buildroot%_prefix/X11R6/bin/
+ln -sf %_sbindir/mdkonline %buildroot%_sbindir/drakonline
+ln -sf %_sbindir/mdkonline %buildroot%_prefix/X11R6/bin/mdkonline
#install lang
%{find_lang} %{name}