From 6d5a55903c94b80900ec638094af5f3016e6d10f Mon Sep 17 00:00:00 2001 From: Christian Harke Date: Fri, 22 Sep 2023 17:38:04 +0200 Subject: [PATCH] Fix shellcheck issues --- lib/apps/nixos-install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/apps/nixos-install.sh b/lib/apps/nixos-install.sh index 05e1116e..0e83b6a2 100644 --- a/lib/apps/nixos-install.sh +++ b/lib/apps/nixos-install.sh @@ -33,6 +33,7 @@ is_nvme_disk() { } get_partition() { + # shellcheck disable=SC2310 if is_nvme_disk; then echo "${DISK}p${1}" else @@ -141,6 +142,7 @@ install() { ### Pull the trigger +# shellcheck disable=SC2310 if _read_boolean "Do you want to DELETE ALL PARTITIONS?" N; then partition create_volumes @@ -155,6 +157,7 @@ if [[ ${LVM_PV_NUM_ACTIVE} -lt 1 ]]; then decrypt_lvm fi +# shellcheck disable=SC2310 if _read_boolean "Do you want to INSTALL NixOS now?" N; then install fi