blob: e2db191f0a97ca15ad83ffe5363209349e508992 (
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
|
#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.2 2001/12/13 06:42:47 jlam Exp $
UVSCANDIR=@PREFIX@/libexec/uvscan
DATFILES="@DATFILES@"
for file in ${DATFILES}
do
ALL_FILES="${ALL_FILES} @PREFIX@/share/uvscan/${file}"
ALL_FILES="${ALL_FILES} ${UVSCANDIR}/${file}.bak"
done
case ${STAGE} in
DEINSTALL)
;;
POST-DEINSTALL)
OLDFILES=`cd ${UVSCANDIR}; /bin/ls -1 *.old *.tar 2>/dev/null`
for file in ${OLDFILES}
do
ALL_FILES="${ALL_FILES} /dev/null ${UVSCANDIR}/${file}"
done
;;
esac
|