repo.or.cz
/
htmlpurifier-web.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix TikiWiki link.
[htmlpurifier-web.git]
/
phorum-update.sh
blob
f0e2b4b7d10450c6b94bbb0390affb6ac16e0a72
1
#!/bin/bash
2
VERSION
=
"
$1
"
3
if
[
"
$VERSION
"
=
""
]
4
then
5
echo
"Please specify version to upgrade to."
6
exit
7
fi
8
9
# Download necessary files
10
DIR
=
"phorum-
$VERSION
"
11
FILE
=
"
$DIR
.tar.gz"
12
wget
"http://www.phorum.org/downloads/
$FILE
"
13
tar
-xzf
"
$FILE
"
14
rm
"
$FILE
"
15
rm
-r
phorum-original
16
mv
"
$DIR
"
phorum-original
17
18
# Install the updates, with patches
19
sh phorum-patch.sh
20
sh phorum-skin-patch.sh