[BACK]Return to DEINSTALL CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages / FreeBSD / openxm-ports / openxm-1.1.2 / pkg

File: [local] / OpenXM / misc / packages / FreeBSD / openxm-ports / openxm-1.1.2 / pkg / DEINSTALL (download)

Revision 1.1, Sat Mar 11 01:38:45 2000 UTC (24 years, 4 months ago) by takayama
Branch: MAIN
CVS Tags: maekawa-ipv6, R_1_3_1-2, RELEASE_1_3_1_13b, RELEASE_1_2_3_12, RELEASE_1_2_3, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, RELEASE_1_2_1, RELEASE_1_1_3, RELEASE_1_1_2, KNOPPIX_2006, HEAD, DEB_REL_1_2_3-9

DEINSTALL script saves asir_key

#!/bin/sh
# $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/pkg/DEINSTALL,v 1.1 2000/03/11 01:38:45 takayama Exp $

prefix=/usr/local

cat << END

Deinstalling the OpenXM package will remove your 
$prefix/OpenXM/lib/asir/asir_key file.
It will be moved to /var/tmp/asir_key.save before the deletion.
If the install script finds /var/tmp/asir_key.save,
the original asir_key in the package will be replaced by
/var/tmp/asir_key.save

END

if [ -f ${prefix}/OpenXM/lib/asir/asir_key ]; then
	echo "Copying" ;
	cp -f ${prefix}/OpenXM/lib/asir/asir_key /var/tmp/asir_key.save ;
fi