duview build added
[projects.git] / debian / xknx.prepare
1 #!/bin/bash
2 set -e
3
4 mkdir -p Downloads
5 cd Downloads
6
7 if [ -d xknx ]
8 then
9         cd xknx
10         git fetch -t
11 else
12         git clone https://github.com/xknx/xknx
13         cd xknx
14 fi
15
16 if [ $version != "0.0.0" ]
17 then
18         git checkout $version
19         cp LICENSE ../../debian/
20 fi
21
22