blob: 89f55b48d9280362c999f79f708e77ca5a8d7b4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
die() {
echo "#####"
echo $1
echo "#####"
exit 1
}
if [ $1 = "install" ]; then
sed -e "s|/your/path/to/public_html/polarblog|${MY_INSTALLDIR}|" -i ${MY_INSTALLDIR}/config/config.php.dist || die "sed failed"
fi
|