# HG changeset patch # User Antoine Bodin # Date 1323460182 -3600 # Node ID f2d78e18fc1033140147650ab7c6f0c85d2a0391 # Parent 8822f9e826ae1c6edbae82d31bf771304b933897 Fix: remove_previous_package() doesn't triger false failure report anymore. diff -r 8822f9e826ae -r f2d78e18fc10 tazwok --- a/tazwok Fri Dec 09 20:46:47 2011 +0100 +++ b/tazwok Fri Dec 09 20:49:42 2011 +0100 @@ -438,8 +438,7 @@ remove_previous_package() { - [ "$prev_VERSION" ] || return - if [ "$VERSION$EXTRAVERSION" != "$prev_VERSION" ]; then + if [ "$prev_VERSION" ] && [ "$VERSION$EXTRAVERSION" != "$prev_VERSION" ]; then rm -f $1/$PACKAGE-$prev_VERSION.tazpkg fi return 0