posaune
[projects.git] / debian / kivitendo.prepare
1 #!/bin/bash
2 set -e
3
4 mkdir -p Downloads
5 cd Downloads
6
7 if [ -d kivitendo-erp ]
8 then
9         cd kivitendo-erp
10         git fetch -t
11 else
12         git clone https://github.com/kivitendo/kivitendo-erp
13         cd kivitendo-erp
14 fi
15
16 git checkout release-$version
17
18 cp doc/copyright ../../debian/
19