dosage/scripts/update_plugins.py
2012-11-28 18:15:12 +01:00

13 lines
296 B
Python
Executable file

#!/bin/sh -e
set -u
mincomics=100
d=$(dirname $0)
for script in creators gocomics drunkduck universal keenspot; do
target="${d}/../dosagelib/plugins/${script}.py"
echo "Upating $target"
"${d}/removeafter.py" "$target" "# DO NOT REMOVE"
"${d}/${script}.py" $mincomics >> "$target"
done