aboutsummaryrefslogtreecommitdiff
path: root/helpers/bbconfirm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-02-24 03:39:44 -0800
committerBruce Hill <bruce@bruce-hill.com>2020-02-24 03:39:44 -0800
commit88fd9c416be0f5fe1e5fd48ba7c27d4d1e25261c (patch)
treecfe311fb81c1d12e46b08de175a6296f0aed7a0d /helpers/bbconfirm
parent304cbddf730b86dec2b3d7c414fd0b9a38c69d76 (diff)
Moved bbstartup into a script, renamed helper/ -> scripts/, and added
bbshutdown script. Also tweaked some of the precedence.
Diffstat (limited to 'helpers/bbconfirm')
-rwxr-xr-xhelpers/bbconfirm9
1 files changed, 0 insertions, 9 deletions
diff --git a/helpers/bbconfirm b/helpers/bbconfirm
deleted file mode 100755
index cae1153..0000000
--- a/helpers/bbconfirm
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-# Ask for user confirmation
-set -e
-if command -v ask >/dev/null; then
- ask -n "$(printf "$1Is that okay?\033[?25h")"
-else
- reply="$(bbask -1 "$(printf "$1\033[0;1mIs that okay? [y/N] ")")"
- [ "$reply" != 'y' ]
-fi