From 2a65f29616f0497faa76c18342c0266fc5c0d5da Mon Sep 17 00:00:00 2001 From: Xavier Petit <32063953+xpetit@users.noreply.github.com> Date: Tue, 22 Oct 2019 17:22:11 +0200 Subject: [PATCH] Comment buggy code --- scripts/install_client.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install_client.sh b/scripts/install_client.sh index 7b969233e..1625301f1 100755 --- a/scripts/install_client.sh +++ b/scripts/install_client.sh @@ -29,11 +29,11 @@ apt-get -y upgrade apt-get -y autoremove --purge # Remove outdated kernels -old_kernels=$(ls -1 /boot/config-* | sed '$d' | xargs -n1 basename | cut -d- -f2,3) +# old_kernels=$(ls -1 /boot/config-* | sed '$d' | xargs -n1 basename | cut -d- -f2,3) -for old_kernel in $old_kernels; do - dpkg -P $(dpkg-query -f '${binary:Package}\n' -W *"$old_kernel"*) -done +# for old_kernel in $old_kernels; do +# dpkg -P $(dpkg-query -f '${binary:Package}\n' -W *"$old_kernel"*) +# done apt-get -yf install