FreeBSD Bugzilla – Attachment 37431 Details for
Bug 59589
textproc/foiltex: add pkg-deinstall script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
foiltex-mktexlsr.patch
foiltex-mktexlsr.patch (text/plain), 1.00 KB, created by
Stefan Walter
on 2003-11-22 16:40:10 UTC
(
hide
)
Description:
foiltex-mktexlsr.patch
Filename:
MIME Type:
Creator:
Stefan Walter
Created:
2003-11-22 16:40:10 UTC
Size:
1.00 KB
patch
obsolete
>diff -urN foiltex.old/Makefile foiltex/Makefile >--- foiltex.old/Makefile Mon Nov 10 20:54:12 2003 >+++ foiltex/Makefile Sat Nov 22 17:00:25 2003 >@@ -57,7 +57,7 @@ > @${INSTALL_DATA} ${FOIL_FILES} ${FOIL_DIR} > > post-install: >- ${SETENV} LOCALBASE=${LOCALBASE} ${SH} ${PKGDIR}/pkg-install \ >- ${PKGNAME} POST-INSTALL >+ ${SETENV} LOCALBASE=${LOCALBASE} PKG_PREFIX=${PREFIX} \ >+ ${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL > > .include <bsd.port.mk> >diff -urN foiltex.old/pkg-deinstall foiltex/pkg-deinstall >--- foiltex.old/pkg-deinstall Thu Jan 1 01:00:00 1970 >+++ foiltex/pkg-deinstall Sat Nov 22 17:09:47 2003 >@@ -0,0 +1,13 @@ >+#!/bin/sh >+ >+if [ "$2" = "POST-DEINSTALL" ]; then >+ echo "Updating content cache to let LaTeX know about the new style files:" >+ if [ -x ${PKG_PREFIX}/bin/mktexlsr ]; then >+ ${PKG_PREFIX}/bin/mktexlsr >+ elif [ -x /usr/local/bin/mktexlsr ]; then >+ /usr/local/bin/mktexlsr >+ else >+ echo "Could not find mktexlsr. Please run it manually to update" >+ echo "LaTeX's content cache." >+ fi >+fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 59589
: 37431