dosage/scripts/update_plugins.sh

15 lines
354 B
Bash
Raw Normal View History

#!/bin/sh
2013-01-23 18:34:11 +00:00
# Copyright (C) 2012-2013 Bastian Kleineidam
set -e
set -u
mincomics=100
d=$(dirname $0)
for script in creators gocomics drunkduck 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