2013-02-12 19:56:02 +00:00
|
|
|
#!/bin/sh
|
2013-01-23 18:34:11 +00:00
|
|
|
# Copyright (C) 2012-2013 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
|
2013-03-11 20:50:49 +00:00
|
|
|
list="creators gocomics drunkduck 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"
|
|
|
|
"${d}/${script}.py" $mincomics >> "$target"
|
|
|
|
done
|