diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2023-01-02 09:34:49 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-07 08:13:24 +0700 |
commit | 93edc5d2cfdab3f639893e5ad356bb5aff76b6b2 (patch) | |
tree | 75049d328def8b1c8825518d6623b4c44f1651e9 /system | |
parent | 2a2feaf50c906c6473c73bbbfecbf671213d470c (diff) |
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 <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/kc/kc.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
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 |