dosage/scripts/update_plugins.sh

14 lines
347 B
Bash
Raw Normal View History

#!/bin/sh -e
2012-11-29 05:46:58 +00:00
# Copyright (C) 2012 Bastian Kleineidam
set -u
mincomics=100
d=$(dirname $0)
2012-12-12 16:41:29 +00:00
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