dosage/scripts/update_plugins.sh
Bastian Kleineidam 4d63920434 Updated copyright.
2014-01-05 16:50:57 +01:00

19 lines
431 B
Bash
Executable file

#!/bin/sh
# Copyright (C) 2012-2014 Bastian Kleineidam
set -e
set -u
mincomics=100
d=$(dirname $0)
if [ $# -ge 1 ]; then
list="$*"
else
list="creators gocomics drunkduck comicgenesis keenspot smackjeeves arcamax comicfury"
fi
for script in $list; do
target="${d}/../dosagelib/plugins/${script}.py"
echo "Upating $target"
"${d}/removeafter.py" "$target" "# DO NOT REMOVE"
"${d}/${script}.py" $mincomics "$target"
done