diff options
Diffstat (limited to 'chinese/MT/pkg-install')
-rw-r--r-- | chinese/MT/pkg-install | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/chinese/MT/pkg-install b/chinese/MT/pkg-install deleted file mode 100644 index cc1233295f2b..000000000000 --- a/chinese/MT/pkg-install +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -DIFF=${PKG_PREFIX}/www/data/mt/mt.diff -CGIDIR=${PKG_PREFIX}/www/cgi-bin/mt - -if [ "$2" = "POST-INSTALL" ]; then - cat ${DIFF} | patch -d ${CGIDIR} --forward --quiet -E -p1 - find ${CGIDIR} -name "*.orig" -delete -elif [ "$2" = "DEINSTALL" ]; then - cat ${DIFF} | patch -d ${CGIDIR} --reverse --quiet -E -p1 - find ${CGIDIR} -name "*.orig" -delete -fi |