summaryrefslogtreecommitdiff
path: root/include/init.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-04 08:33:17 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-04 08:33:17 +0100
commit7392f6fc8ecbff10661be6ae66306afd89f1a3e3 (patch)
tree9e18c96a79eb8b260a4cae0aa3f1a8ca2e962304 /include/init.sh
parent7acec7a3a1d40a38b88b56e9c56087da263f30d1 (diff)
init.sh: move non-init functions to lib.sh
these were missed in a previous cleanup Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/init.sh')
-rw-r--r--include/init.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/init.sh b/include/init.sh
index fc321605..4807e1cf 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -51,22 +51,6 @@ xbmkpkg()
printf "You need AUR packages: %s\n" "$aur_notice" 1>&2; :
}
-setcfg()
-{
- [ $# -gt 1 ] && printf "e \"%s\" f missing && return %s;\n" "$1" "$2"
- [ $# -gt 1 ] || \
- printf "e \"%s\" f not && %s \"Missing config\";\n" "$1" "$err"
- printf ". \"%s\" || %s \"Could not read config\";\n" "$1" "$err"
-}
-
-chkvars()
-{
- for var in "$@"; do
- eval "[ -n \"\${$var+x}\" ] || \$err \"$var unset\""
- eval "[ -n \"\$$var\" ] || \$err \"$var unset\""
- done; :
-}
-
xbmk_set_pyver()
{
pyv="import sys; print(sys.version_info[:])"