dosage/scripts/update_plugins.sh

14 lines
360 B
Bash
Raw Normal View History

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