From 60a0bf11d3738c2a987fac8c349c8486c7edc968 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Mon, 27 Dec 2010 13:54:28 -0800 Subject: Lintian. --- builddebs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'builddebs') diff --git a/builddebs b/builddebs index c75c43d..f82ca4e 100755 --- a/builddebs +++ b/builddebs @@ -20,6 +20,14 @@ if [ "$SIGN" == "y" ]; then SIGNARGS=""; else SIGNARGS="-uc -us"; fi for SOURCE in libpiny piny pinyweb pinyadmin pinyconfigs; do (cd "$SOURCE"; debuild $SIGNARGS -tc "$@"); done +if which lintian > /dev/null 2> /dev/null; then + echo + echo -n "Run lintian on packages? (Y/n) " + read -n 1 LINTIAN + echo + if [ "$LINTIAN" != "n" ]; then for CHANGES in *.changes; do echo "$CHANGES"; lintian "$CHANGES"; done; fi +fi + echo echo -n "Install packages on this machine? (y/N) " read -n 1 INSTALL -- cgit v1.2.3