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?
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to