HCoop
/
hcoop
/
debian
/
courier-authlib.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Imported Upstream version 0.63.0
[hcoop/debian/courier-authlib.git]
/
unicode
/
update.sh
1
2
filename
=
"
$1
"
3
url
=
"
$2
"
4
5
tmpfilename
=
"
$filename
.tmp"
6
7
echo
wget
$url
8
wget
-O
-
$url
>
$tmpfilename
9
if
test
!
-s
$tmpfilename
10
then
11
rm
-f
$tmpfilename
12
exit
1
13
fi
14
15
if
test -f
$filename
16
then
17
if
cmp
-s
$filename $tmpfilename
18
then
19
rm
-f
$tmpfilename
20
exit
0
21
fi
22
fi
23
mv
$tmpfilename $filename