dosage/scripts/update_plugins.py
2012-11-29 06:46:58 +01:00

14 lines
336 B
Python
Executable file

#!/bin/sh -e
# Copyright (C) 2012 Bastian Kleineidam
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