summaryrefslogtreecommitdiff
path: root/libre/parabolaweb-utils/parabolaweb-update
diff options
context:
space:
mode:
Diffstat (limited to 'libre/parabolaweb-utils/parabolaweb-update')
-rw-r--r--libre/parabolaweb-utils/parabolaweb-update7
1 files changed, 5 insertions, 2 deletions
diff --git a/libre/parabolaweb-utils/parabolaweb-update b/libre/parabolaweb-utils/parabolaweb-update
index e4d65c2d9..b8ac5bf5e 100644
--- a/libre/parabolaweb-utils/parabolaweb-update
+++ b/libre/parabolaweb-utils/parabolaweb-update
@@ -1,8 +1,11 @@
#!/bin/bash
set -e
-_install_dir=/srv/http
-_gitname=web
+. /etc/conf.d/parabolaweb
+
+
+_install_dir=${WEBDIR%/*}
+_gitname=${WEBDIR##*/}
_gitroot=git://parabolagnulinux.org/parabolaweb.git
_gitbranch=master