blob: 0c5e8b75c1e3ed7bcbd42f48b98677bf53430e07 (
plain)
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
|
#!/bin/sh
# vim:ts=2:sw=2:et
set -e
case "$1" in
upgrade)
# Delete any symlinks/files which were created in postinst previously.
# These are not covered by conffile handling, so they would otherwise not
# be cleaned up.
for file in /etc/freeradius/certs/ca.pem \
/etc/freeradius/certs/server.key \
/etc/freeradius/certs/server.pem \
/etc/freeradius/sites-enabled/default \
/etc/freeradius/sites-enabled/inner-tunnel
do
if [ -h "$file" ]
then
rm -f "$file"
fi
done
;;
esac
#DEBHELPER#
exit 0
|