Objective C port.
[htmlpurifier-web.git] / phorum-skin-patch.sh
blobea0423104294b3a9c7abfb3195931bcc3cca3212
1 #!/bin/bash
2 cd phorum/templates
3 if [ -d temp ]
4 then
5 rm -r temp
6 fi
7 cp -R lightweight temp
8 cd temp
9 patch -u -p 1 < ../../../phorum-skin.patch
10 cd ../
11 if [ -d htmlpurifier.bak ]
12 then
13 rm -r htmlpurifier.bak
15 if [ -d htmlpurifier ]
16 then
17 mv htmlpurifier htmlpurifier.bak
19 mv temp htmlpurifier
20 cd ../../