dosage/scripts/update_plugins.sh
Tobias Gruetzmacher 1d9b74bd66 Rename Tapastic to Tapas
The site is know just as "Tapas" since longer then Dosage has support
for it. Since the module was merged just recently, this rename shouldn't
affect many users...
2022-06-06 01:54:22 +02:00

20 lines
495 B
Bash
Executable file

#!/bin/sh
# Copyright (C) 2012-2014 Bastian Kleineidam
# Copyright (C) 2015-2022 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 tapas webcomicfactory"
fi
for script in $list; do
target="${d}/../dosagelib/plugins/${script}.py"
echo "Upating $target"
python3 "${d}/${script}.py" $mincomics "$target"
done