mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
6a49fa15fa
PR: 193042 Submitted by: Ports Fury
47 lines
1.1 KiB
Bash
47 lines
1.1 KiB
Bash
#!/bin/sh
|
|
|
|
if [ "$2" != "DEINSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
if cmp -s ${PKG_PREFIX}/share/nepenthes/signatures/shellcode-signatures.sc \
|
|
/var/cache/nepenthes/signatures/shellcode-signatures.sc; then
|
|
rm -f /var/cache/nepenthes/signatures/shellcode-signatures.sc
|
|
fi
|
|
|
|
if [ -d /var/spool/nepenthes/submitpostgres ]; then
|
|
rmdir /var/spool/nepenthes/submitpostgres 2>/dev/null || true
|
|
fi
|
|
|
|
if [ -d /var/spool/nepenthes/gotek ]; then
|
|
rmdir /var/spool/nepenthes/gotek 2>/dev/null || true
|
|
fi
|
|
|
|
if [ -d /var/spool/nepenthes ]; then
|
|
rmdir /var/spool/nepenthes 2>/dev/null || true
|
|
fi
|
|
|
|
if [ -d /var/log/pcap ]; then
|
|
rmdir /var/log/pcap 2>/dev/null || true
|
|
fi
|
|
|
|
if [ -d /var/hexdumps ]; then
|
|
rmdir /var/hexdumps 2>/dev/null || true
|
|
fi
|
|
|
|
if [ -d /var/cache/nepenthes/signatures ]; then
|
|
rmdir /var/cache/nepenthes/signatures 2>/dev/null || true
|
|
fi
|
|
|
|
if [ -d /var/cache/nepenthes/pcap ]; then
|
|
rmdir /var/cache/nepenthes/pcap 2>/dev/null || true
|
|
fi
|
|
|
|
if [ -d /var/cache/nepenthes ]; then
|
|
rmdir /var/cache/nepenthes 2>/dev/null || true
|
|
fi
|
|
|
|
if [ -d /var/binaries ]; then
|
|
rmdir /var/binaries 2>/dev/null || true
|
|
fi
|