From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2013-January/021122.html | 130 ++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 zarb-ml/mageia-dev/2013-January/021122.html (limited to 'zarb-ml/mageia-dev/2013-January/021122.html') diff --git a/zarb-ml/mageia-dev/2013-January/021122.html b/zarb-ml/mageia-dev/2013-January/021122.html new file mode 100644 index 000000000..d1b602f62 --- /dev/null +++ b/zarb-ml/mageia-dev/2013-January/021122.html @@ -0,0 +1,130 @@ + + + + [Mageia-dev] Help with package + + + + + + + + + +

[Mageia-dev] Help with package

+ Juan Luis Baptiste + juancho at mageia.org +
+ Fri Jan 4 05:43:24 CET 2013 +

+
+ +
On Thu, Jan 3, 2013 at 6:22 PM, Juan Luis Baptiste <juancho at mageia.org>wrote:
+
+>
+>
+> On Thu, Jan 3, 2013 at 6:10 PM, Charles A Edwards <CAE at eslrahc.com>wrote:.
+>
+>>
+>> Why not have it created in post by the warsow-data rpm?
+>>
+>> %post
+>> ln -sf %{_datadir}/warsow/basewsw/*  %{gamelibdir}/basewsw
+>>
+>> %postun
+>> rm -rf %{gamelibdir}/basewsw
+>>
+>>
+>>
+> Good idea, going to try this.
+>
+>
+>
+Nope it didn't work either, with Charle's suggestion I get this error:
+
+ln: target ‘/usr/lib64/games/warsow/basewsw/’ is not a directory: No such
+file or directory
+
+Which I don't understand why it says no such file or directory if that's
+the link I want to create. And /usr/lib64/games/warsow exists. I also tried
+the for loop option with no success either:
+
+for i in `%{_datadir}/%{name}/basewsw/*`;
+do
+   file=`basename $i`
+   ln -sf $i  %{gamelibdir}/basewsw/$file
+done
+
+/var/tmp/rpm-tmp.HdlyUk: line 7: /usr/share/warsow-data/basewsw/*: No such
+file or directory
+
+It seems as if the expression `%{_datadir}/%{name}/basewsw/*` (don't mind
+the left quotes, it happens the same with them or not) of the for loop
+wasn't being expanded and $i ends with the literal value '*'.
+
+Any other suggestions ?
+
+-- 
+Juancho
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-dev/attachments/20130103/53183d2d/attachment.html>
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1