dosage/scripts/update_plugins.sh
2012-12-12 17:41:29 +01:00

13 lines
347 B
Bash
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 smackjeeves; do
target="${d}/../dosagelib/plugins/${script}.py"
echo "Upating $target"
"${d}/removeafter.py" "$target" "# DO NOT REMOVE"
"${d}/${script}.py" $mincomics >> "$target"
done