Martin Bialasinski wrote: > I am squashing the bugs in the xisp package. Report 12773 asks to move a > conffile from /etc/options.xisp to /etc/ppp/options.xisp. > > This sounds reasonable. To handle upgrading from an old version, is it enough > to move the file in preinst?
Here's what I put in the preinst of xaw-wrappers to move a conffile. I'm not sure if the use of cat is required, but I have gotten no reports of this not working. if [ ! -e /etc/X11/xaw-wrappers.conf -a -e /etc/xaw-wrappers.conf ]; then # Move conffile. I think it's safest to use cat here, becuase # the user may have done something funky like made it be a sumlink. cat /etc/xaw-wrappers.conf > /etc/X11/xaw-wrappers.conf fi rm -f /etc/xaw-wrappers.conf -- see shy jo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]