blob: a49ecd15d36da0557f160921d0f4ce903c7f3511 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $NetBSD: DEINSTALL,v 1.3 2008/09/25 02:22:12 taca Exp $
TYPO3_DIR="@PREFIX@/@TYPO3DIR@"
TYPO3_SITEDIR="${TYPO3_DIR}/@SITEDIR@"
TYPO3_SUBDIRS="uploads/tf uploads/pics uploads/media uploads typo3temp \
typo3conf/l10n typo3conf/ext typo3conf \
fileadmin/user_upload/_temp_ fileadmin/user_upload fileadmin/_temp_ \
fileadmin ${DIR}"
case ${STAGE} in
DEINSTALL)
(
cd ${TYPO3_SITEDIR}
${RM} -f typo3conf/ENABLE_INSTALL_TOOL
${RM} -f typo3conf/temp*.php
${RM} -fr typo3temp/*
for d in ${TYPO3_SUBDIRS}; do
test -d $d && ${RMDIR} $d 2>/dev/null
done
)
${RMDIR} ${TYPO3_SITEDIR} 2>/dev/null
${RMDIR} ${TYPO3_DIR} 2>/dev/null
;;
esac
|