mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 07:33:43 +01:00
Fix install on Debian
This commit is contained in:
parent
c37e2c40aa
commit
443cf98539
@ -319,6 +319,12 @@ if [ -z "$DESTDIR" ]; then
|
|||||||
cant_autostart
|
cant_autostart
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
elif [ -n "$DEBIAN" ]; then
|
||||||
|
if [ -d /etc/ppp ]; then
|
||||||
|
for directory in ip-up.d ip-down.d ipv6-up.d ipv6-down.d; do
|
||||||
|
[ -d /etc/ppp/$directory ] && ln -sf /usr/share/shorewall-init/ifupdown /etc/ppp/$directory/shorewall
|
||||||
|
done
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ -n "$first_install" ]; then
|
if [ -n "$first_install" ]; then
|
||||||
@ -332,9 +338,9 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$DEBIAN" ] -a -d /etc/ppp ]; then
|
if [ -n "$DEBIAN" ] -a -d ${DESTDIR}/etc/ppp ]; then
|
||||||
for directory in ip-up.d ip-down.d ipv6-up.d ipv6-down.d; do
|
for directory in ip-up.d ip-down.d ipv6-up.d ipv6-down.d; do
|
||||||
[ -d /etc/ppp/$directory ] && ln -sf /usr/share/shorewall-init/ifupdown /etc/ppp/$directory/shorewall
|
[ -d /etc/ppp/$directory ] && ln -sf /usr/share/shorewall-init/ifupdown ${DESTDIR}/etc/ppp/$directory/shorewall
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user