From ce139c5ca7f225c8b61b7af22c468e87bcd19af0 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 24 May 2010 07:11:49 -0700 Subject: [PATCH] Don't install NetworkManager script on SuSE and Debian Signed-off-by: Tom Eastep --- Shorewall-init/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall-init/install.sh b/Shorewall-init/install.sh index c53a3f815..1349ad4dc 100755 --- a/Shorewall-init/install.sh +++ b/Shorewall-init/install.sh @@ -225,7 +225,6 @@ if [ -n "$DEBIAN" ]; then if [ -n "${PREFIX}" ]; then mkdir -p ${PREFIX}/etc/network/if-up.d/ mkdir -p ${PREFIX}/etc/network/if-down.d/ - mkdir -p ${PREFIX}/etc/NetworkManager/dispatcher.d fi if [ ! -f ${PREFIX}/etc/default/shorewall-init ]; then @@ -238,11 +237,12 @@ if [ -n "$DEBIAN" ]; then else if [ -n "$PREFIX" ]; then mkdir -p ${PREFIX}/etc/sysconfig - mkdir -p ${PREFIX}/etc/NetworkManager/dispatcher.d if [ -n "$SUSE" ]; then mkdir -p ${PREFIX}/sysconfig/network/if-up.d mkdir -p ${PREFIX}/sysconfig/network/if-down.d + else + mkdir -p ${PREFIX}/etc/NetworkManager/dispatcher.d fi fi