aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahoo-inc.com>2017-09-26 14:18:53 +0200
committerArnstein Ressem <aressem@yahoo-inc.com>2017-09-26 14:18:53 +0200
commit471ca26b077dc4d9b8d709f51071e8fe66347540 (patch)
tree58d3706f6f980e16bc8d4517e03ece922ab41f1c /dist
parentc3a3e10868099709b46f4068967e0d4624d33abc (diff)
Get rid of config file in post install.
Diffstat (limited to 'dist')
-rwxr-xr-xdist/post_install.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/dist/post_install.sh b/dist/post_install.sh
index fb0e19370ee..246fd1a6726 100755
--- a/dist/post_install.sh
+++ b/dist/post_install.sh
@@ -9,21 +9,6 @@ fi
declare -r PREFIX="$1"
declare -r INSTALLPATH="$DESTDIR/$PREFIX"
-# Rewrite config def file names
-for path in $INSTALLPATH/var/db/vespa/config_server/serverdb/classes/*.def; do
- dir=$(dirname $path)
- filename=$(basename $path)
- namespace=$(grep '^ *namespace *=' $path | sed 's/ *namespace *= *//')
- if [ "$namespace" ]; then
- case $filename in
- $namespace.*)
- ;;
- *)
- mv $path $dir/$namespace.$filename ;;
- esac
- fi
-done
-
mkdir -p $INSTALLPATH/conf/configserver/
mkdir -p $INSTALLPATH/conf/configserver-app/
mkdir -p $INSTALLPATH/conf/configserver-app/config-models/
@@ -67,10 +52,3 @@ ln -sf $PREFIX/lib/jars/zkfacade-jar-with-dependencies.jar $INSTALLPATH/conf/con
ln -snf $PREFIX/conf/configserver-app/components $INSTALLPATH/lib/jars/config-models
ln -sf vespa-storaged-bin $INSTALLPATH/sbin/vespa-distributord-bin
-# Setup default enviroment
-mkdir -p $INSTALLPATH/conf/vespa
-cat > $INSTALLPATH/conf/vespa/default-env.txt <<EOF
-fallback VESPA_HOME $PREFIX
-override VESPA_USER vespa
-EOF
-