dosage/scripts/update_plugins.sh
littauer 4d369376c0 Add ComicsKingdom.com (aka King Features) (#134)
Note that going back more than about seven days is a paid feature and is untested.
2019-12-16 23:18:04 +01:00

18 lines
399 B
Bash
Executable file

#!/bin/sh
# Copyright (C) 2012-2014 Bastian Kleineidam
set -e
set -u
mincomics=100
d=$(dirname $0)
if [ $# -ge 1 ]; then
list="$*"
else
list="arcamax comicfury comicgenesis creators gocomics keenspot smackjeeves webcomicfactory comicskingdom"
fi
for script in $list; do
target="${d}/../dosagelib/plugins/${script}.py"
echo "Upating $target"
"${d}/${script}.py" $mincomics "$target"
done