From 05ce52fe580b015d5cc21e0c31a999970a34f4d5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 25 Aug 2013 22:14:43 -0300 Subject: More cleanup and merging --- lib/httracker/functions | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lib') diff --git a/lib/httracker/functions b/lib/httracker/functions index 0885206..8e8964e 100644 --- a/lib/httracker/functions +++ b/lib/httracker/functions @@ -107,3 +107,14 @@ function httracker_setup_folders { chown -R $USER.$GROUP $TMP fi } + +# Set basic environment +function httracker_set_env { + source `dirname $0`/config || exit 1 + + # Create folders + httracker_setup_folders +} + +# Initialize +httracker_set_env -- cgit v1.2.3