From c58cb382338a94a622a68a7a8b9f9b7ed1cf684b Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 6 Sep 2019 11:25:21 -0400 Subject: [PATCH] Add some debug echos, fix zmfilter command line and remove -1 from changelog version, as packpack version wont' have it. --- utils/packpack/startpackpack.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/utils/packpack/startpackpack.sh b/utils/packpack/startpackpack.sh index 9a8778b34..a1b394087 100755 --- a/utils/packpack/startpackpack.sh +++ b/utils/packpack/startpackpack.sh @@ -177,9 +177,13 @@ installtrusty () { if [ -e $pkgname ]; then sudo gdebi --quiet --non-interactive $pkgname + echo "Return code from installing $?" mysql -uzmuser -pzmpass zm < db/test.monitor.sql + echo "Return code from adding test monitor $?" sudo /usr/bin/zmpkg.pl start - sudo /usr/bin/zmfilter.pl -f purgewhenfull + echo "Return code from starting $?" + sudo /usr/bin/zmfilter.pl --filter=purgewhenfull + echo "Return code from running purgewhenfull $?" else echo echo "ERROR: The script cannot find the package $pkgname" @@ -241,7 +245,7 @@ setrpmchangelog () { setdebchangelog () { DATE=`date -R` cat < debian/changelog -zoneminder ($VERSION-${DIST}-1) ${DIST}; urgency=low +zoneminder ($VERSION-${DIST}) ${DIST}; urgency=low * -- Isaac Connor $DATE EOF