dosage/scripts/update_plugins.sh
2022-03-26 00:38:08 -07:00

20 lines
507 B
Bash
Executable file

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