dosage/scripts/update_plugins.sh
2013-01-23 19:34:11 +01:00

13 lines
360 B
Bash
Executable file

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