BASE=${BASE:="/var/www/data"}
SITES=${SITES:="$BASE/drupal"}
-SERIES="7 8"
+SERIES="6 7 8"
# Ensure we have a proper path, useful when called through cron
export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
continue
fi
+ # Only cron action is available for drupal 6
+ if [ "$version" == "6" ] && [ "$command" != "cron" ]; then
+ continue
+ fi
+
# Setup site folders with .onion sites in the end of the list
# and ignoring site names without dots
cd $base/sites