Initialize ID and ID_LIKE vars

Fix #12
This commit is contained in:
Andrei Shevchuk
2021-12-15 20:21:15 +03:00
parent 87e4e220e4
commit 3e3992ecb8
+2
View File
@@ -80,6 +80,8 @@ echo "Boot mode: ${BOOT_MODE}"
if [[ -e /etc/os-release ]]; then
ID=""
ID_LIKE=""
source /etc/os-release
if [[ "$ID" =~ (debian|ubuntu|solus) || \