From 11e13b11d09184f957a7ee59441ac459f8598ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Nordstr=C3=B6m?= Date: Fri, 4 Sep 2009 02:37:44 +0000 Subject: [PATCH] 3.1: Remove obsolete language setting --- squid.spec | 89 ------------------------------------------------------ 1 file changed, 89 deletions(-) diff --git a/squid.spec b/squid.spec index 690be0c..dc0d47a 100644 --- a/squid.spec +++ b/squid.spec @@ -234,95 +234,6 @@ exit 0 %post /sbin/chkconfig --add squid -if [ $1 = 0 ]; then - case "$LANG" in - bg*) - DIR=Bulgarian - ;; - ca*) - DIR=Catalan - ;; - cs*) - DIR=Czech - ;; - da*) - DIR=Danish - ;; - nl*) - DIR=Dutch - ;; - en*) - DIR=English - ;; - ea*) - DIR=Estonian - ;; - fi*) - DIR=Finnish - ;; - fr*) - DIR=French - ;; - de*) - DIR=German - ;; - he*) - DIR=Hebrew - ;; - hu*) - DIR=Hungarian - ;; - it*) - DIR=Italian - ;; - ja*) - DIR=Japanese - ;; - kr*) - DIR=Korean - ;; - pl*) - DIR=Polish - ;; - pt*) - DIR=Portuguese - ;; - ro*) - DIR=Romanian - ;; - ru*) - DIR=Russian-koi8-r - ;; - sr*) - DIR=Serbian - ;; - sk*) - DIR=Slovak - ;; - es*) - DIR=Spanish - ;; - sv*) - DIR=Swedish - ;; - zh_TW*) - DIR=Traditional_Chinese - ;; - zh_CN*) - DIR=Simplify_Chinese - ;; - tr*) - DIR=Turkish - ;; - greek) - DIR=Greek - ;; - *) - DIR=English - ;; - esac - ln -snf %{_datadir}/squid/errors/$DIR /etc/squid/errors -fi %preun if [ $1 = 0 ] ; then