summaryrefslogtreecommitdiff
blob: c6fe2e9e6968993e73837b32e54e1d21b523259b (plain)
1
2
3
4
5
6
7
#!/bin/bash
# Sets installation directory and hostname when installing knowledgeTree

if [ $1 = "install" ]; then
    cd ${MY_INSTALLDIR}/config
    sed -i -e "s#rootUrl = default#rootUrl = \"${VHOST_APPDIR}\"#" config.ini
fi