dosage/scripts/update_plugins.sh

20 lines
441 B
Bash
Raw Normal View History

#!/bin/sh
2014-01-05 15:50:57 +00:00
# Copyright (C) 2012-2014 Bastian Kleineidam
# Copyright (C) 2015-2019 Tobias Gruetzmacher
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 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"
python3 "${d}/${script}.py" $mincomics "$target"
done