summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/polarblog/files/reconfig')
-rw-r--r--www-apps/polarblog/files/reconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/www-apps/polarblog/files/reconfig b/www-apps/polarblog/files/reconfig
new file mode 100644
index 000000000000..b7a2f6583eb4
--- /dev/null
+++ b/www-apps/polarblog/files/reconfig
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ $1 = "start" -o $1 = "install" ]; then
+ # enable RSS
+ chmod 777 ${MY_INSTALLDIR}
+ sed -e "s|/your/path/to/public_html/polarblog|${MY_INSTALLDIR}|" -i ${MY_INSTALLDIR}/config/config.php.dist
+fi