From 93edc5d2cfdab3f639893e5ad356bb5aff76b6b2 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Mon, 2 Jan 2023 09:34:49 +0900 Subject: system/kc: Don't block build completely with call to read. A raw read call means we can't easily automatically test this build. Other builds have similar handling - xview, zseal, xmms-cue, etc, but they all have a max timeout so the build is not completely blocked. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- system/kc/kc.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/kc/kc.SlackBuild b/system/kc/kc.SlackBuild index 5aa69f5aed708..d62986be8eed2 100644 --- a/system/kc/kc.SlackBuild +++ b/system/kc/kc.SlackBuild @@ -67,7 +67,8 @@ set -e printf "\n\n" echo "Please read /usr/doc/$PRGNAM-$VERSION/Changelog.md after installation to see why you might not be able to open your database anymore." -echo 'Press enter to continue...';read +echo 'Press Ctrl-C within ten seconds to abort, or press enter to continue...' +read -t 10 || true printf "\n\n" rm -rf $PKG -- cgit v1.2.3