dosage/scripts/update_plugins.sh
Tobias Gruetzmacher 963db7f448 Adopt SmackJeeves to new site design (fixes #144)
Some things got lost on the way:
- Since there is no comprehensive comic directory anymore, removed
  automatic update script. New comics need to be added manually.
- Some authors used the opportunity to move from SmackJeeves somewhere
  else - some of those got new modules (either standalone or ComicFury)
- Abunch of comics just disappeared...
2019-12-26 22:03:18 +01:00

20 lines
441 B
Bash
Executable file

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