summaryrefslogtreecommitdiffstats
path: root/tools/installer
diff options
context:
space:
mode:
authorSebastian Schmelzer2010-09-06 10:59:34 +0200
committerSebastian Schmelzer2010-09-06 11:00:59 +0200
commit005675dc1a58ba3b54e51322461161ba65102e02 (patch)
tree686d270b366750f56c8c052a8c8998c389b70672 /tools/installer
parentfirst steps for new makefile (diff)
downloadcore-005675dc1a58ba3b54e51322461161ba65102e02.tar.gz
core-005675dc1a58ba3b54e51322461161ba65102e02.tar.xz
core-005675dc1a58ba3b54e51322461161ba65102e02.zip
minor changes
Diffstat (limited to 'tools/installer')
-rwxr-xr-xtools/installer12
1 files changed, 10 insertions, 2 deletions
diff --git a/tools/installer b/tools/installer
index 33e8683d..30eda9f0 100755
--- a/tools/installer
+++ b/tools/installer
@@ -4,6 +4,14 @@
DISTRO=$(lsb_release -i| sed 's/^[^:]*:\t//' | tr '[:upper:]' '[:lower:]')
+[ -z $USR_BIN_PATH ] && USR_BIN_PATH=/usr/bin
+[ -z $SLX_CONFIG_PATH ] && SLX_CONFIG_PATH=/etc/opt/openslx
+[ -z $SLX_BASE_PATH ] && SLX_BASE_PATH=/opt/openslx
+[ -z $SLX_PRIVATE_PATH ] && SLX_PRIVATE_PATH=/var/opt/openslx
+[ -z $SLX_PUBLIC_PATH ] && SLX_PUBLIC_PATH=/srv/openslx
+[ -z $SLX_TEMP_PATH ] && SLX_TEMP_PATH=/tmp
+[ -z $SLX_INSTALL_LOG ] && SLX_INSTALL_LOG=install.log
+
# helper functions:
git_version()
@@ -53,7 +61,7 @@ perl_dep_check()
fi
}
-make_tarball()
+make_source_tarball()
{
echo -n " * create openslx tarball"
VERSIONSTRING="openslx-$(git_version)"
@@ -64,5 +72,5 @@ make_tarball()
}
perl_dep_check
-make_tarball
+make_source_tarball
git_version \ No newline at end of file