summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-www/dotproject/files/1.0.2/postinstall.sh')
-rw-r--r--net-www/dotproject/files/1.0.2/postinstall.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-www/dotproject/files/1.0.2/postinstall.sh b/net-www/dotproject/files/1.0.2/postinstall.sh
new file mode 100644
index 000000000000..a34d4664b634
--- /dev/null
+++ b/net-www/dotproject/files/1.0.2/postinstall.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+case "$1" in
+ install)
+ sed -i "s|C:/apache/htdocs/dotproject|${MY_INSTALLDIR}|g;" ${MY_INSTALLDIR}/includes/config.php
+ ;;
+
+ # nothing to do when we clean
+esac