<div dir="ltr">On Sat, Sep 21, 2013 at 9:06 AM, Gary Buhrmaster <span dir="ltr">&lt;<a href="mailto:gary.buhrmaster@gmail.com" target="_blank">gary.buhrmaster@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Sep 20, 2013 at 9:59 PM, Gary Buhrmaster<br>
&lt;<a href="mailto:gary.buhrmaster@gmail.com">gary.buhrmaster@gmail.com</a>&gt; wrote:<br>
&gt; On Fri, Sep 20, 2013 at 8:43 PM, Richard Shaw &lt;<a href="mailto:hobbes1069@gmail.com">hobbes1069@gmail.com</a>&gt; wrote:<br>
&gt; ....<br>
&gt;&gt; Yup, I have a test package but yum/rpm is telling me the data directories<br>
&gt;&gt; between the two packages conflict... Right now I&#39;ve got the symbolic link in<br>
&gt;&gt; %install and then a %pre and %post to migrate the data.<br>
&gt;<br>
&gt; There is a really ugly hack to use the %pretrans hook<br>
&gt; to change directories to symlinks, or files.<br>
<br>
</div>If none of the references make sense, if you send me your<br>
current files(s) (off-line), I&#39;ll ramp up my plague-client (I<br>
am pretty sure I have to re-generate my certificate it at<br>
this point; have not used them in years) and work on the<br>
spec files to try and make things happy.<br></blockquote><div><br></div><div>I&#39;m working through it but it&#39;s a major PITA... I don&#39;t think I&#39;m going to have to resort to the &quot;lua&quot; trick since new installs should get the old package and /bin/sh will be available for updates.</div>
<div><br></div><div>For some reason my symbolic link isn&#39;t getting made with I update so I&#39;ve got to debug that. I also had to add an additional ugly hack to make the symlink part of the RPM so it will be removed during uninstall... Basically I used the %ghost directive, but for it to work you actually have to have a file there so I&#39;m using touch to create an empty file so %ghost will be happy so I can get the symlink to be part of the package so it will removed upon uninstall... Talk about a chain of events... And ALL of this because RPM can&#39;t handle replacing a directory with a symlink.</div>
<div><br></div><div>Thanks,</div><div>Richard</div></div></div></div>