Manual page for removef(1M)
removef - remove a file from software database
SYNOPSIS
removef
pkginst path1
[
path2
...]
removef -f
pkginst
AVAILABILITY
SUNWcsu
DESCRIPTION
removef
informs the system that
the user, or software,
intends to remove a pathname.
Output from
removef
is the list of input pathnames
that may be safely removed
(no other packages have a dependency on them).
OPTIONS
- -f
-
After all files have been processed,
removef
should be invoked with the
-f
option to indicate that the removal
phase is complete.
EXAMPLES
The following shows the use of
removef
in an optional
pre-install script:
echo "The following files are no longer part of this package
and are being removed."
removef $PKGINST /dev/xt[0-9][0-9][0-9] |
while read pathname
do
echo "$pathname"
rm -f $pathname
done
removef -f $PKGINST || exit 2
SEE ALSO
pkginfo.1
pkgmk.1
pkgparam.1
pkgproto.1
pkgtrans.1
installf.1m
pkgadd.1m
pkgask.1m
pkgchk.1m
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97