From cc7fdcd39d99cc25a681dd7b96fe99ba4fc59830 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 30 Sep 2024 10:06:05 +0300 Subject: [PATCH] deb-update.bash: replace the fix-kernel-install.bash with kernel-install --- bash/deb-update.bash | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bash/deb-update.bash b/bash/deb-update.bash index 48a22ae..72677e7 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -152,8 +152,13 @@ fi # Lumina & Sedric have been having kernel update issues, let's see if this # script could detect and suggest action for that. -if [ -f /root/fix-kernel-install.bash ]; then - . /root/fix-kernel-install.bash +# if [ -f /root/fix-kernel-install.bash ]; then +# . /root/fix-kernel-install.bash +# fi +if hash kernel-install 2> /dev/null; then + sleep 3 + kernel-install add-all -v + sleep 5 fi # Hide commands being executed again