Browse Source

Comment buggy code

pull/313/head
Xavier Petit 5 years ago
parent
commit
2a65f29616
No known key found for this signature in database
GPG Key ID: CA3F2B17E25ABD26
  1. 8
      scripts/install_client.sh

8
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

Loading…
Cancel
Save