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 --- .../20130103/53183d2d/attachment-0001.html | 27 ++++++++++++++++++++++ .../attachments/20130103/53183d2d/attachment.html | 27 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 zarb-ml/mageia-dev/attachments/20130103/53183d2d/attachment-0001.html create mode 100644 zarb-ml/mageia-dev/attachments/20130103/53183d2d/attachment.html (limited to 'zarb-ml/mageia-dev/attachments/20130103/53183d2d') diff --git a/zarb-ml/mageia-dev/attachments/20130103/53183d2d/attachment-0001.html b/zarb-ml/mageia-dev/attachments/20130103/53183d2d/attachment-0001.html new file mode 100644 index 000000000..28739e059 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130103/53183d2d/attachment-0001.html @@ -0,0 +1,27 @@ +

On Thu, Jan 3, 2013 at 6:22 PM, Juan Luis Baptiste <juancho@mageia.org> wrote:
+ +

On Thu, Jan 3, 2013 at 6:10 PM, Charles A Edwards <CAE@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 diff --git a/zarb-ml/mageia-dev/attachments/20130103/53183d2d/attachment.html b/zarb-ml/mageia-dev/attachments/20130103/53183d2d/attachment.html new file mode 100644 index 000000000..28739e059 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130103/53183d2d/attachment.html @@ -0,0 +1,27 @@ +

On Thu, Jan 3, 2013 at 6:22 PM, Juan Luis Baptiste <juancho@mageia.org> wrote:
+ +

On Thu, Jan 3, 2013 at 6:10 PM, Charles A Edwards <CAE@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 -- cgit v1.2.1