aboutsummaryrefslogtreecommitdiff
path: root/www/dillo-i18n/files/patch-bm-update
blob: d95cd3c77e147633efc5a14de11915a3f9d836aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- 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