blob: 2b8912690fda9a6cc439d8a3f0e0c2157e147d28 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
install_bwSuite_server() {
# $1: directory to install server to
echo "# Installing server part of bwSuite... "
mkdir -p "$1" || perror "Cannot create $1"
install -m 0644 -p -o root -g root "$BASEDIR/static_files/dmsd.jar" "$1/dmsd.jar" \
|| perror "Could not install dmsd.jar"
chown -R root:root "$1"
chmod -R go-w "$1"
install_files "dmsd"
chown root:images "$1/config.properties"
chmod 0640 "$1/config.properties"
}
|