From f4626037ee70d717de37c7aa65a679c594127216 Mon Sep 17 00:00:00 2001 From: demon Date: Wed, 11 Apr 2001 09:09:31 +0000 Subject: Examine LINGUAS variable before BATCH. After this change slave ports (russian/kde2-i18n and japanese/kde2-i18n) should work as expected. Comment out files in .../en/ directory. It seems they are not being installed by this port. --- misc/kde3-i18n-da/scripts/Configure | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'misc/kde3-i18n-da') diff --git a/misc/kde3-i18n-da/scripts/Configure b/misc/kde3-i18n-da/scripts/Configure index 3d8958d60472..2b69520dcdc1 100644 --- a/misc/kde3-i18n-da/scripts/Configure +++ b/misc/kde3-i18n-da/scripts/Configure @@ -3,11 +3,11 @@ /bin/rm -f ${PLIST} ${PLIST}.dirs -if [ "${BATCH}" ]; then - set \"ca\" \"cs\" \"da\" \"de\" \"el\" \"eo\" \"es\" \"et\" \"fi\" \"fr\" \"he\" \"hu\" \"ja\" \"is\" \"ko\" \"it\" \"nl\" \"no\" \"no_NY\" \"pl\" \"pt\" \"pt_BR\" \"ro\" \"ru\" \"sk\" \"sl\" \"sr\" \"sv\" \"tr\" \"uk\" \"zh_CN.GB2312\" \"zh_TW.Big5\" -else if [ "${LINGUAS}" ]; then set `echo $LINGUAS` +else +if [ "${BATCH}" ]; then + set \"ca\" \"cs\" \"da\" \"de\" \"el\" \"eo\" \"es\" \"et\" \"fi\" \"fr\" \"he\" \"hu\" \"ja\" \"is\" \"ko\" \"it\" \"nl\" \"no\" \"no_NY\" \"pl\" \"pt\" \"pt_BR\" \"ro\" \"ru\" \"sk\" \"sl\" \"sr\" \"sv\" \"tr\" \"uk\" \"zh_CN.GB2312\" \"zh_TW.Big5\" else /usr/bin/dialog --title "Select languages" --clear \ --checklist "\n\ @@ -66,8 +66,8 @@ fi fi /bin/rm -f ${WRKSRC}/subdirs -/usr/bin/grep "^[^@].*/en/.*" ${CURDIR}/pkg-plist > ${PLIST} -/usr/bin/grep "^@.*/en/.*" ${CURDIR}/pkg-plist > ${PLIST}.dirs +#/usr/bin/grep "^[^@].*/en/.*" ${CURDIR}/pkg-plist > ${PLIST} +#/usr/bin/grep "^@.*/en/.*" ${CURDIR}/pkg-plist > ${PLIST}.dirs while [ "$1" ]; do a=`echo -n $1 | /usr/bin/sed -e 's#\"##g'` -- cgit