mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-09 19:26:50 +02:00
Delete the deprecated macros and actions during install
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
944888c04f
commit
a71b61c238
@ -481,6 +481,16 @@ if [ -z "$first_install" ]; then
|
|||||||
delete_file ${DESTDIR}${MANDIR}/man5/$PRODUCT/${PRODUCT}-stoppedrules
|
delete_file ${DESTDIR}${MANDIR}/man5/$PRODUCT/${PRODUCT}-stoppedrules
|
||||||
delete_file ${DESTDIR}${MANDIR}/man5/$PRODUCT/${PRODUCT}-notrack
|
delete_file ${DESTDIR}${MANDIR}/man5/$PRODUCT/${PRODUCT}-notrack
|
||||||
delete_file ${DESTDIR}${MANDIR}/man5/$PRODUCT/${PRODUCT}-blacklist
|
delete_file ${DESTDIR}${MANDIR}/man5/$PRODUCT/${PRODUCT}-blacklist
|
||||||
|
|
||||||
|
if [ $PRODUCT = shorewall ]; then
|
||||||
|
#
|
||||||
|
# Delete deprecated macros and actions
|
||||||
|
#
|
||||||
|
delete_file ${DESTDIR}${SHAREDIR}/shorewall/macro.SNMPTrap
|
||||||
|
delete_file ${DESTDIR}${SHAREDIR}/shorewall/action.A_REJECT
|
||||||
|
delete_file ${DESTDIR}${SHAREDIR}/shorewall/action.Drop
|
||||||
|
delete_file ${DESTDIR}${SHAREDIR}/shorewall/action.Reject
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user