Delete dev submodule; will be administered via alternate means
[htmlpurifier-web.git] / phorum_patch.sh
blob0cd2381c208640ea5cc270f9cbc7605eed153304
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.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 ../../