blob: 671f2981d6f08ff0fee6bec126972eca5e14a37d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#!/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
|