mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 06:38:53 +01:00
Remove modules files
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
443a4223c2
commit
e548043e96
@ -1241,6 +1241,14 @@ if [ $PRODUCT = shorewall ]; then
|
||||
rm -f ${DESTDIR}${SHAREDIR}/${PRODUCT}/deprecated/macro.SMTPTraps
|
||||
fi
|
||||
|
||||
#
|
||||
# Remove unneeded modules files
|
||||
#
|
||||
|
||||
if [ -n "$first_install" ]; then
|
||||
rm -f ${DESTDIR}${SHAREDIR}/${PRODUCT}/modules*
|
||||
fi
|
||||
|
||||
if [ $configure -eq 1 -a -z "$DESTDIR" -a -n "$first_install" -a -z "${cygwin}${mac}" ]; then
|
||||
if [ -n "$SERVICEDIR" ]; then
|
||||
if systemctl enable ${PRODUCT}.service; then
|
||||
|
Loading…
Reference in New Issue
Block a user