From aafdc7425f41c21534b839ed2ab51e800fe573c7 Mon Sep 17 00:00:00 2001 From: Dennis Groenen Date: Thu, 25 Oct 2012 17:40:22 +0200 Subject: [PATCH] make scripts fail on unsupported environments This change was already made in preinst. Update the shared functions file to reflect that change for the other scripts as well. --- debian/scripts/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/scripts/functions b/debian/scripts/functions index c75f781..eb79512 100644 --- a/debian/scripts/functions +++ b/debian/scripts/functions @@ -32,8 +32,8 @@ CHECK_ENV() { ENVIRONMENT="HARMATTAN" ;; *) - # Unsupported, use the least strict environment (SDK) - ENVIRONMENT="SDK" + echo "busybox-power: unsupported environment: $PROD" + exit 1 ;; esac fi -- 1.7.9.5