From aacc818b400b3c86c269889daf4d598c64d9a5b7 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 19 Oct 2004 17:39:13 +0000 Subject: [PATCH] Clifford Wolf: Fixed typo3 package build Added typo3 pkgmapper.in [2004101112485414649] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4564 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/jsaw/typo3/pkgmapper.in | 5 +++++ package/jsaw/typo3/typo3.conf | 9 ++------- 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 package/jsaw/typo3/pkgmapper.in diff --git a/package/jsaw/typo3/pkgmapper.in b/package/jsaw/typo3/pkgmapper.in new file mode 100644 index 000000000..1fb8ac8c3 --- /dev/null +++ b/package/jsaw/typo3/pkgmapper.in @@ -0,0 +1,5 @@ + +if [ -z "${pkg##typo3-*}" ]; then + pkg=typo3 +fi + diff --git a/package/jsaw/typo3/typo3.conf b/package/jsaw/typo3/typo3.conf index ffea50f8b..7a39b9ee8 100644 --- a/package/jsaw/typo3/typo3.conf +++ b/package/jsaw/typo3/typo3.conf @@ -44,16 +44,11 @@ typo3_random_md5() { typo3_doc_files="ChangeLog GPL.txt LICENSE.txt Package.txt README.txt INSTALL.txt Package.txt" typo3_doc() { - local each mydocdir + local each echo "Creating documentation..." - case "$xpkg" in - *-src) mydocdir=$docdir ;; - *) mydocdir=$docdir/${xpkg#typo3-} ;; - esac - for each in $typo3_doc_files; do - [ -f $each ] && cp -avP $each $mydocdir/ + [ -f $each ] && cp -avP $each $docdir/ done }