diff --git a/pimpmykali.sh b/pimpmykali.sh index 72e6f58..0ce71a6 100755 --- a/pimpmykali.sh +++ b/pimpmykali.sh @@ -111,8 +111,9 @@ check_distro() { fi findhostname=$(hostname) + findrelease=$(cat /etc/os-release | grep -i -c -m1 "2022.1") # check for tracelabs osint vm, if found exit - if [[ "$finduser" == "osint" ]] && [[ "$findhostname" == "osint" ]] && [[ -f /var/share/icons/hicolor/scaleable/categories/tracelabs.svg ]] + if [[ "$finduser" == "osint" ]] && [[ "$findhostname" == "osint" ]] && [[ $findrelease -ge 1 ]] then echo -e "\n $redexclaim Tracelabs Osint VM Detected, exiting" exit