1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/print/yatex/files/DEINSTALL.tmpl
Satoshi Taoka aae99987f8 Updated to lastest version
Modified MASTER_SITES
Changed two ports for XEmacs to XEmacs's package style
1999-09-27 13:48:10 +00:00

22 lines
454 B
Bash

#!/bin/sh
pkgname=$1
CP=${CP:-%%CP%%}
ECHO=${ECHO:-%%ECHO%%}
GREP=${GREP:-%%GREP%%}
RM=${RM:-%%RM%%}
SED=${SED:-%%SED%%}
infodir=${INFODIR:-%%INFODIR%%}
infofiles=${INFOFILES:-%%INFOFILES%%}
if [ "X$2" = X"DEINSTALL" -a %%EMACS%% != xemacs ]; then
${ECHO} "Deleting entry for \"${pkgname}\" from ${infodir}/dir"
for file in `echo ${infofiles} | ${SED} "s,:, ,g"`; do
install-info --delete ${infodir}/${file} ${infodir}/dir
done
else
exit 0
fi