From a5a79662170208a0905ca6f42ad531faff4cf198 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Tue, 17 Aug 2010 14:49:19 -0700 Subject: 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. --- debian/vyatta-wanloadbalance.postinst.in | 8 -------- 1 file changed, 8 deletions(-) (limited to 'debian/vyatta-wanloadbalance.postinst.in') 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 -- cgit v1.2.3