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
Use bashrc instead, and do not define an alias.
[htmlpurifier-web.git]
/
phorum-skin-patch.sh
blob
ea0423104294b3a9c7abfb3195931bcc3cca3212
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
14
fi
15
if
[
-d
htmlpurifier
]
16
then
17
mv
htmlpurifier htmlpurifier.bak
18
fi
19
mv
temp htmlpurifier
20
cd
..
/
..
/