aboutsummaryrefslogtreecommitdiffstats
path: root/util/update_addon_repo
blob: 0d0cbc4a8dc56aa03a6c51c047742ce209e0c107 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -f

if [ $# -ne 1 ]; then
	echo usage: $0 repository
	echo "Repositories:"
	ls extend/addon
	exit 1
fi

cd extend/addon/$1

if [ -d .git ] ; then
	git pull
fi