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