avahi-autoipd: fix issue with repeated builds
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 28 Jan 2009 15:12:05 +0000 (15:12 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 28 Jan 2009 15:12:05 +0000 (15:12 -0000)
commit7b83993c3e92c06521278e864e9c112e0ec6aefe
tree54e9a57e937518ee2ffb309756b7add4b4f0f927
parentd608e26d486986a9b1a9e078157025e052e926a5
avahi-autoipd: fix issue with repeated builds

The avahi-autoipd target install step adds /var/lib/avahi-autoipd as a
symlink to /tmp/avahi-autoipd, which is fine, except if your /var/lib is
already a symlink to /tmp (E.G. like the default target_skeleton is).

If that's the case, then you end up adding a /tmp/avahi-autoipd symlink
pointing to itself, causing subsequent builds to fail
(Too many levels of symbolic links in the ln -sf call). Fix it by simply
first removing the symlink if it's there.
package/avahi/avahi.mk