Allow selective update.
This commit is contained in:
parent
93c48fb7e2
commit
6e0ffa0619
2 changed files with 12 additions and 2 deletions
|
@ -3,7 +3,12 @@ set -e
|
|||
set -u
|
||||
|
||||
d=$(dirname $0)
|
||||
for script in creators gocomics drunkduck keenspot smackjeeves arcamax; do
|
||||
if [ $# -ge 1 ]; then
|
||||
list="$*"
|
||||
else
|
||||
list="creators gocomics drunkduck keenspot smackjeeves arcamax comicfury"
|
||||
fi
|
||||
for script in $list; do
|
||||
echo "Executing ${script}.py"
|
||||
"${d}/${script}.py"
|
||||
done
|
||||
|
|
|
@ -6,7 +6,12 @@ set -u
|
|||
mincomics=100
|
||||
d=$(dirname $0)
|
||||
|
||||
for script in creators gocomics drunkduck keenspot smackjeeves arcamax; do
|
||||
if [ $# -ge 1 ]; then
|
||||
list="$*"
|
||||
else
|
||||
list="creators gocomics drunkduck 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"
|
||||
|
|
Loading…
Reference in a new issue