aboutsummaryrefslogtreecommitdiffstats
path: root/util/udall
blob: 50ef56bfe1f0334df9f4bf29555ccdbe3c042a6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash
if [ ! -d .git ]; then
	echo Unable to update `pwd`
	exit
fi
git pull

if [ -d extend ]; then
	for a in  theme addon widget ; do
		if [ -d extend/$a ]; then
			for b in  `ls extend/$a` ; do
				echo Updating $b
				'util/update_'$a'_repo' $b
			done
		fi
	done
fi

# Allow to run additional site specific commands
if [ -f util/udall_extra ]; then
	source util/udall_extra
fi