dosage/scripts/update_plugins.sh

19 lines
399 B
Bash
Raw Normal View History

#!/bin/sh
2014-01-05 15:50:57 +00:00
# Copyright (C) 2012-2014 Bastian Kleineidam
set -e
set -u
mincomics=100
d=$(dirname $0)
2013-02-13 19:00:44 +00:00
if [ $# -ge 1 ]; then
list="$*"
else
list="arcamax comicfury comicgenesis creators gocomics keenspot smackjeeves webcomicfactory comicskingdom"
2013-02-13 19:00:44 +00:00
fi
for script in $list; do
target="${d}/../dosagelib/plugins/${script}.py"
echo "Upating $target"
2013-05-22 20:29:03 +00:00
"${d}/${script}.py" $mincomics "$target"
done