[BACK]Return to DEINSTALL CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / tex-tetex

File: [cvs.NetBSD.org] / pkgsrc / print / tex-tetex / Attic / DEINSTALL (download)

Revision 1.3, Sun Oct 14 21:24:04 2012 UTC (10 years, 3 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.2: +3 -3 lines

Let tex-tetex delete a dvipdfmx map file when it uninstalls.

# $NetBSD: DEINSTALL,v 1.3 2012/10/14 21:24:04 minskim Exp $

TEXMFSYSVAR="@VARBASE@/lib/texmf"

case "${STAGE}" in
DEINSTALL)
	# Remove font map files generated by updmap-sys.  The list of
	# files is taken from the updmap man page and matches the
	# "output files" for updmap.
	${RM} -f ${TEXMFSYSVAR}/fonts/map/dvipdfmx/updmap/kanjix.map
	${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/builtin35.map
	${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/download35.map
	${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/ps2pk.map
	${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/psfonts.map
	${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/psfonts_pk.map
	${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/psfonts_t1.map
	${RM} -f ${TEXMFSYSVAR}/fonts/map/pdftex/updmap/pdftex.map
	${RM} -f ${TEXMFSYSVAR}/fonts/map/pdftex/updmap/pdftex_dl14.map
	${RM} -f ${TEXMFSYSVAR}/fonts/map/pdftex/updmap/pdftex_ndl14.map
	${RM} -f ${TEXMFSYSVAR}/web2c/updmap.log

	# Remove stray directories.
	for dir in \
		${TEXMFSYSVAR}/web2c \
		${TEXMFSYSVAR}/fonts/map/dvipdfmx/updmap \
		${TEXMFSYSVAR}/fonts/map/dvips/updmap \
		${TEXMFSYSVAR}/fonts/map/pdftex/updmap \
		${TEXMFSYSVAR}/fonts/map/pxdvi/updmap
	do
		@RMDIR@ -p "$dir" 2>/dev/null || @TRUE@
	done
	;;
esac