summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2002-09-02 16:51:02 +0000
committerDaouda Lo <daouda@mandriva.com>2002-09-02 16:51:02 +0000
commit69a0d3106d9e91cc243e0f7a86940a054d903e58 (patch)
tree73955fa1bf5160ef5e453f58632ba321866246b8
parentf6ad8dc556004bbc4e47e736c0490c0b118ff155 (diff)
downloadmgaonline-69a0d3106d9e91cc243e0f7a86940a054d903e58.tar
mgaonline-69a0d3106d9e91cc243e0f7a86940a054d903e58.tar.gz
mgaonline-69a0d3106d9e91cc243e0f7a86940a054d903e58.tar.bz2
mgaonline-69a0d3106d9e91cc243e0f7a86940a054d903e58.tar.xz
mgaonline-69a0d3106d9e91cc243e0f7a86940a054d903e58.zip
- fix older path symbolic link
-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}