From 63564e394b24cf12516ec695ce5c26fa615ef91f Mon Sep 17 00:00:00 2001 From: Gaurav Sinha Date: Thu, 17 Jan 2013 10:32:21 -0800 Subject: Fixing 8607 --- debian/postinst | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 debian/postinst 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 -- cgit v1.2.3