On Fri, May 04, 2012 at 04:57:55PM -0700, Gurucharan Shetty wrote:
> On Fri, May 4, 2012 at 1:54 PM, Ben Pfaff <[email protected]> wrote:
> > On Fri, May 04, 2012 at 01:32:34PM -0700, Gurucharan Shetty wrote:
> >> diff --git a/debian/openvswitch-switch.postinst 
> >> b/debian/openvswitch-switch.postinst
> >> index 7b9d7bc..22ce434 100755
> >> --- a/debian/openvswitch-switch.postinst
> >> +++ b/debian/openvswitch-switch.postinst
> >> @@ -33,6 +33,11 @@ case "$1" in
> >>                  fi
> >>              done
> >>       fi
> >> +
> >> +     ln -s /usr/share/openvswitch/scripts/ifupdown.sh \
> >> +         /etc/network/if-pre-up.d/openvswitch || true
> >> +     ln -s /usr/share/openvswitch/scripts/ifupdown.sh \
> >> +         /etc/network/if-post-down.d/openvswitch || true
> >>          ;;
> >
> > I just noticed this.  .deb files can contain symlinks.  Is there a
> > reason to call ln in the postinst and rm in the prerm instead?
> 
> There is no reason. For some reason my openvswitch-switch.link file
> contents are not used. The following patch works. May be there is a
> better way to do this?

The manpage says .links instead of .link.  Does that make a
difference?

Otherwise your incremental looks OK to me.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to