summaryrefslogtreecommitdiff
path: root/src/util.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-15 21:55:54 +0100
committerdavidovski <david@davidovski.xyz>2022-05-15 21:55:54 +0100
commit038a56d555833d2db3af772b890a8fc8c283120e (patch)
treeacf67de79326127d58dd5be681525de39f1836dd /src/util.sh
parenta15d9c48b3677da48cba37d211fad9f4881f5bb8 (diff)
added installer tui
Diffstat (limited to 'src/util.sh')
-rw-r--r--src/util.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/util.sh b/src/util.sh
index 55af05e..96d326d 100644
--- a/src/util.sh
+++ b/src/util.sh
@@ -76,14 +76,10 @@ wait_for_extract () {
wait
}
-format_bytes () {
- echo $@ | numfmt --to iec
-
-}
-
prompt_question () {
$NOCONFIRM && return 0
printf "$1 [Y/n] "
read response
[ "${var%${var#?}}"x != 'nx' ]
}
+