2 if test ! -f debian/control; then
3 echo "No debian/control"
6 if test ! -f IDMETA; then
11 DNAME=`awk '/Source:/ {print $2}' debian/control`
12 if test "$NAME" -a "$NAME" != "$DNAME"; then
13 echo "NAME in IDMETA ($NAME) does not match debian/control ($DNAME)"
18 if ! git ls-files $DCH --error-unmatch >/dev/null 2>&1; then
20 echo "${DNAME} (${VERSION}-1.indexdata) unstable; urgency=medium" >$DCH
22 echo ' * Upstream.' >>$DCH
24 echo " -- `git config --get user.name` <`git config --get user.email`> `date -R`" >>$DCH