forked from extern/shorewall_code
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}-notrack
|
||||
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
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user