sys-kernel/booster: update ebuild

This commit is contained in:
2024-09-27 15:04:13 +03:00
parent 9b71c7e3b7
commit a141283b90
3 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# this file is installed by sys-kernel/ugrd
# this file is installed by sys-kernel/booster
ver=${1}
img=${2}
@@ -24,10 +24,10 @@ main() {
# re-define for subst to work
[[ -n ${NOCOLOR+yes} ]] && NOCOLOR=
# Exit if ugrd is not the INSTALLKERNEL_INITRD_GENERATOR
# Exit if booster is not the INSTALLKERNEL_INITRD_GENERATOR
[[ ${INSTALLKERNEL_INITRD_GENERATOR} == "booster" ]] || exit 0
# do nothing if somehow ugrd is not installed
# do nothing if somehow booster is not installed
[[ -x $(command -v booster) ]] || { ewarn "booster is not installed" && exit 0 ; }
[[ ${EUID} -eq 0 ]] || die "Please run this script as root"