summaryrefslogtreecommitdiff
path: root/debian/vyatta-wanloadbalance.postinst.in
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-08-17 14:49:19 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-08-17 14:49:19 -0700
commita5a79662170208a0905ca6f42ad531faff4cf198 (patch)
tree600ca924a416b19e72d8f9f1425bb5ea106b6cc6 /debian/vyatta-wanloadbalance.postinst.in
parent438ba2e6d8781b7e4a5b00e7cef1e24a9da69936 (diff)
downloadvyatta-wanloadbalance-a5a79662170208a0905ca6f42ad531faff4cf198.tar.gz
vyatta-wanloadbalance-a5a79662170208a0905ca6f42ad531faff4cf198.zip
fix packaging problem
* package was installing op templates into the config templates directory and then move them into the op templates directory *during postinst*. * this *might* be ok for editable config files but is definitely *not* the correct installation method for files "owned" by the package. * do it the right (and simpler) way: install op templates into the op templates directory.
Diffstat (limited to 'debian/vyatta-wanloadbalance.postinst.in')
-rw-r--r--debian/vyatta-wanloadbalance.postinst.in8
1 files changed, 0 insertions, 8 deletions
diff --git a/debian/vyatta-wanloadbalance.postinst.in b/debian/vyatta-wanloadbalance.postinst.in
index fb0eea8..2895ad3 100644
--- a/debian/vyatta-wanloadbalance.postinst.in
+++ b/debian/vyatta-wanloadbalance.postinst.in
@@ -10,11 +10,3 @@ chmod 0755 $LOADBALANCE_DIR
touch ${LOADBALANCE_DIR}/wlb.conf
-#now move op cmds to correct location
-rm -fr /opt/vyatta/share/vyatta-op/templates/show/wan-load-balance/*
-mv /opt/vyatta/share/vyatta-cfg/templates/show/wan-load-balance /opt/vyatta/share/vyatta-op/templates/show/. 2>/dev/null
-rm -fr /opt/vyatta/share/vyatta-cfg/templates/show
-rm -fr /opt/vyatta/share/vyatta-op/templates/restart/wan-load-balance/*
-mv /opt/vyatta/share/vyatta-cfg/templates/restart/wan-load-balance /opt/vyatta/share/vyatta-op/templates/restart/. 2>/dev/null
-rm -fr /opt/vyatta/share/vyatta-cfg/templates/restart
-exit 0