freebsd-ports/www/dillo-i18n/files/patch-bm-update
Rong-En Fan efdfc4a482 - Update to 0.8.6.20060709
- Spell "dillo" as "Dillo" when refering to the Dillo project/software

PR:		ports/100743
Submitted by:	Thomas-Martin Seck <tmseck at netcologne.de> (maintainer)
2006-07-24 01:57:32 +00:00

22 lines
655 B
Text

--- bm-update.orig Sat Jul 8 17:32:51 2006
+++ bm-update Sun Jul 23 11:39:38 2006
@@ -10,9 +10,8 @@
exit
fi
-CONVTEST=`LANG=C iconv -f UTF-8 -t UTF-8 ~/.dillo/bm.txt -o ~/.dillo/bm.txt.update 2>&1| sed -e "s/.*illegal.*/illegal/g"`
+CONVTEST=`LANG=C iconv -f UTF-8 -t UTF-8 ~/.dillo/bm.txt 2>&1| sed -e "s/.*illegal.*/illegal/g"`
-rm -f ~/.dillo/bm.txt.update
if test "x$CONVTEST" = "xillegal"; then
echo "bookmark needs update."
else
@@ -22,7 +21,7 @@
CHARSET=`locale | grep "LC_CTYPE.*\." | sed -e "s/^.*\.//g" -e "s/\"//g"`
if test "x$CHARSET" = "x"; then
- CHARSET="iso88591"
+ CHARSET="iso-8859-1"
fi
case $CHARSET in