menu: added new Keywords tag to .desktop files
[barry.git] / maintainer / deb.sh
blobb3181cd788d3b0e2fe5016b1e81ab1988de0dcbe
1 #!/bin/bash
3 if [ -z "$1" -o -z "$2" -o -z "$3" -o -z "$BARRYTARBALL" ] ; then
4 echo
5 echo "Do not call deb.sh directly. Call release.sh instead."
6 echo
7 exit 1
8 fi
10 CHROOTTARGET="$1"
11 TAG="$2"
12 DEBTARGETS="$3"
14 if [ "$THEMODE" = "release" ] ; then
15 ./make-deb.sh "$BARRYTARBALL" "$CHROOTTARGET" "$TAG" "$DEBTARGETS"
16 elif [ "$THEMODE" = "test" ] ; then
17 ./test-build.sh "$BARRYTARBALL" "$CHROOTTARGET"
18 else
19 echo
20 echo "Mode not set. Call release.sh or test.sh instead."
21 echo
22 exit 1