diff options
author | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2013-01-17 10:32:21 -0800 |
---|---|---|
committer | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2013-01-17 10:32:21 -0800 |
commit | 63564e394b24cf12516ec695ce5c26fa615ef91f (patch) | |
tree | 27ddb87d217702292b8537c0884457ff28d93edf | |
parent | 26c53e05a2c1fcb9e79dad77b63e3f70b27d5a71 (diff) | |
download | vyatta-cfg-quagga-63564e394b24cf12516ec695ce5c26fa615ef91f.tar.gz vyatta-cfg-quagga-63564e394b24cf12516ec695ce5c26fa615ef91f.zip |
Fixing 8607
-rw-r--r-- | debian/postinst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 00000000..02a3f77e --- /dev/null +++ b/debian/postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ ! -d /opt/vyatta/sbin/policy ];then + mkdir -p /opt/vyatta/sbin/policy +fi + +if [ -f /usr/bin/vtysh ] && [ ! -f /opt/vyatta/sbin/policy/vtysh ]; then + ln -s /usr/bin/vtysh /opt/vyatta/sbin/policy/vtysh +fi |