sudo mkdir /usr/share/immudex_addons;
fi
cat >> $(basename $0)_installer << EOF
+if [ ! -f /proc/cpuinfo ]; then
+echo "There is no system interfaces! Nothing to do. Exiting...";
+exit 1;
+else
if [ ! -d /boot ]; then
mkdir /boot;
apt purge linux-image* --purge -y;
sed -e 's/main/contrib non-free non-free-firmware/g' -i /etc/apt/sources.list.d/nvidia.list;
apt update;
apt install -y build-essential dkms linux-headers-\$(uname -r);
-apt install -y nvidia-detect
-apt install -y nvidia-driver
+apt install -y nvidia-detect;
+apt install -y nvidia-driver;
+fi
EOF
bash $(basename $0)_installer;
if [ $? -eq 0 ]; then