aboutsummaryrefslogtreecommitdiff
path: root/scuttler
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-25 22:14:43 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-25 22:14:43 -0300
commit05ce52fe580b015d5cc21e0c31a999970a34f4d5 (patch)
treefa5863f92b74649cf9ec40a628cff4cc98811785 /scuttler
parentad49b915a0c6fee46015bad16fa5bfa5d0082325 (diff)
downloadhttruta-05ce52fe580b015d5cc21e0c31a999970a34f4d5.tar.gz
httruta-05ce52fe580b015d5cc21e0c31a999970a34f4d5.tar.bz2
More cleanup and merging
Diffstat (limited to 'scuttler')
-rwxr-xr-xscuttler9
1 files changed, 1 insertions, 8 deletions
diff --git a/scuttler b/scuttler
index cb49918..1c64622 100755
--- a/scuttler
+++ b/scuttler
@@ -3,17 +3,10 @@
# Download all links from a Semantic Scuttle instance.
#
-# Configuration
-source `dirname $0`/config || exit 1
-
-# Functions
+# Load and initialize
source `dirname $0`/lib/httracker/functions || exit 1
-# Create folders
-httracker_setup_folders
-
# Other parameters
-SCUTTLE_BASE="/var/sites/links"
SCUTTLEDIR="`basename $( find ${SCUTTLE_BASE} -maxdepth 1 -iname "SemanticScuttle-*" | head -n 1 )`"
CONFIGFILE="${SCUTTLE_BASE}/${SCUTTLEDIR}/data/config.php"
DBUSER="`httracker_scuttle_config dbuser`"