From 9251eca31a03cb190e8f72ef4b32cae65746711a Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 4 Jan 2012 10:32:17 -0800 Subject: [PATCH] Don't delete lib.common and lib.cli when installing Shorewall Signed-off-by: Tom Eastep --- Shorewall/install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Shorewall/install.sh b/Shorewall/install.sh index 1afd26b21..0e2811612 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -380,8 +380,12 @@ delete_file ${DESTDIR}/usr/share/$PRODUCT/lib.proxyarp delete_file ${DESTDIR}/usr/share/$PRODUCT/lib.tc delete_file ${DESTDIR}/usr/share/$PRODUCT/lib.tcrules delete_file ${DESTDIR}/usr/share/$PRODUCT/lib.tunnels -delete_file ${DESTDIR}/usr/share/$PRODUCT/lib.cli -delete_file ${DESTDIR}/usr/share/$PRODUCT/lib.common + +if [ $PRODUCT = shorewall6 ]; then + delete_file ${DESTDIR}/usr/share/shorewall6/lib.cli + delete_file ${DESTDIR}/usr/share/shorewall6/lib.common +fi + delete_file ${DESTDIR}/usr/share/$PRODUCT/prog.header6 delete_file ${DESTDIR}/usr/share/$PRODUCT/prog.footer6 delete_file ${DESTDIR}/usr/share/$PRODUCT/wait4ifup