SUNWjdsrm.spec revision 19637
#
# spec file for package SUNWjdsrm
#
# includes module(s): SUNWjdsver.spec
#
# Copyright (c) 2004 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
#
# DO NOT REMOVE NEXT LINE
# PACKAGE NOT ARC REVIEWED BY SUN JDS TEAM
#
%use jdsver = SunDesktopVersion.spec
# Note: increment the nano version in case of a respin.
# New builds should start with a 0
# 110 means integrated into solaris 11.0
SUNW_BaseDir: /
%prep
%post
#
# JDS clean up for packages with non-standard package version strings
# Note: Any pkg using SUNWjdsrm to remove a previous version,
# Must add SUNWjdsrm to it's package depend file to ensure the
# removal of the previous version before the addition of the
# new version.
#
PKG="SUNWglow SUNWjai-imageio SUNWjmf SUNWjmfmp3 SUNWjdsver SUNWjpeg SUNWjpegx SUNWtiff SUNWtiffx"
mail=
instance=overwrite
partial=nocheck
runlevel=nocheck
idepend=nocheck
rdepend=nocheck
space=nocheck
setuid=nocheck
conflict=nocheck
action=nocheck
basedir=default
EOF
echo "PATH=/usr/sadm/bin:$PATH" > $REM_SCRIPT
if [ -n "${PKG_INSTALL_ROOT}" ]; then
sed -e 's: /usr: ${PKG_INSTALL_ROOT}/usr:' ${PKG_INSTALL_ROOT}/var/sadm/pkg/$i/install/preremove > /tmp/$i.pkgremove.$$
cp /tmp/$i.pkgremove.$$ ${PKG_INSTALL_ROOT}/var/sadm/pkg/$i/install/preremove
rm /tmp/$i.pkgremove.$$
fi
else
fi
}
do
if [ -n "${PKG_INSTALL_ROOT}" ]; then
(pkgparam -R ${PKG_INSTALL_ROOT} $i VERSION | egrep -v '^[0-9.]+$|^[0-9.]+,REV=[0-9.]+$') > /dev/null 2>&1
else
fi
exist=$?
do_pkgrm $i
fi
done
if [ -f $REM_SCRIPT ]; then
fi
exit 0