diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20130103/53183d2d | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20130103/53183d2d')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20130103/53183d2d/attachment-0001.html | 27 | ||||
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20130103/53183d2d/attachment.html | 27 |
2 files changed, 54 insertions, 0 deletions
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 @@ +<br><br><div class="gmail_quote">On Thu, Jan 3, 2013 at 6:22 PM, Juan Luis Baptiste <span dir="ltr"><<a href="mailto:juancho@mageia.org" target="_blank">juancho@mageia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> + +<br><br><div class="gmail_quote">On Thu, Jan 3, 2013 at 6:10 PM, Charles A Edwards <span dir="ltr"><<a href="mailto:CAE@eslrahc.com" target="_blank">CAE@eslrahc.com</a>></span> wrote:.<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> + + +<div><div> +<br> +</div></div>Why not have it created in post by the warsow-data rpm?<br> +<br> +%post<br> +ln -sf %{_datadir}/warsow/basewsw/* %{gamelibdir}/basewsw<br> +<br> +%postun<br> +rm -rf %{gamelibdir}/basewsw<br> +<span><font color="#888888"><br> +<br></font></span></blockquote><div><br></div></div><div class="im"><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Good idea, going to try this.</span> </div></div></div><span class="HOEnZb"><font color="#888888"><br clear="all"> + + +<div><br></div></font></span></blockquote><div><br></div><div>Nope it didn't work either, with Charle's suggestion I get this error:</div><div><br></div><div>ln: target ‘/usr/lib64/games/warsow/basewsw/’ is not a directory: No such file or directory</div> + +<div><br></div><div>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:</div> + +<div><br></div><div><div>for i in `%{_datadir}/%{name}/basewsw/*`;</div><div>do</div><div> file=`basename $i`</div><div> ln -sf $i %{gamelibdir}/basewsw/$file</div><div>done</div></div><div><br></div></div><div>/var/tmp/rpm-tmp.HdlyUk: line 7: /usr/share/warsow-data/basewsw/*: No such file or directory</div> + +<div><br></div><div>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 '*'.</div> + +<div><br></div><div>Any other suggestions ?</div><div><br></div>-- <br>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 @@ +<br><br><div class="gmail_quote">On Thu, Jan 3, 2013 at 6:22 PM, Juan Luis Baptiste <span dir="ltr"><<a href="mailto:juancho@mageia.org" target="_blank">juancho@mageia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> + +<br><br><div class="gmail_quote">On Thu, Jan 3, 2013 at 6:10 PM, Charles A Edwards <span dir="ltr"><<a href="mailto:CAE@eslrahc.com" target="_blank">CAE@eslrahc.com</a>></span> wrote:.<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> + + +<div><div> +<br> +</div></div>Why not have it created in post by the warsow-data rpm?<br> +<br> +%post<br> +ln -sf %{_datadir}/warsow/basewsw/* %{gamelibdir}/basewsw<br> +<br> +%postun<br> +rm -rf %{gamelibdir}/basewsw<br> +<span><font color="#888888"><br> +<br></font></span></blockquote><div><br></div></div><div class="im"><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Good idea, going to try this.</span> </div></div></div><span class="HOEnZb"><font color="#888888"><br clear="all"> + + +<div><br></div></font></span></blockquote><div><br></div><div>Nope it didn't work either, with Charle's suggestion I get this error:</div><div><br></div><div>ln: target ‘/usr/lib64/games/warsow/basewsw/’ is not a directory: No such file or directory</div> + +<div><br></div><div>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:</div> + +<div><br></div><div><div>for i in `%{_datadir}/%{name}/basewsw/*`;</div><div>do</div><div> file=`basename $i`</div><div> ln -sf $i %{gamelibdir}/basewsw/$file</div><div>done</div></div><div><br></div></div><div>/var/tmp/rpm-tmp.HdlyUk: line 7: /usr/share/warsow-data/basewsw/*: No such file or directory</div> + +<div><br></div><div>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 '*'.</div> + +<div><br></div><div>Any other suggestions ?</div><div><br></div>-- <br>Juancho |