summaryrefslogtreecommitdiff
path: root/setup/SCO_SV/r.drvcfg
blob: 00004b277bb036f85c5ca3e4c83c28bb75342a20 (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
#
# Copyright (c) 2005 by 4Front Technologies
# All rights reserved.
#
#

if test "`uname -s`" = "UnixWare"
then
PKGCHK=/usr/sbin/pkgchk
else
PKGCHK=/bin/pkgchk
fi

while read src
do
	if [ -f $src ]
	then
		if  $PKGCHK -p $src
		then
			rm -f $src
		else
			echo "not removing $src"
		fi
	fi
done
exit 0