Don't repeatedly try to install amd64 kernel
This commit is contained in:
parent
0ee00f775c
commit
22557c6359
|
@ -203,8 +203,11 @@ function install_backports_kernel {
|
|||
architecture_type=$(uname -a)
|
||||
|
||||
if [[ "$architecture_type" == *"amd64"* ]]; then
|
||||
package_installed=$(dpkg-query -W -f='${Package}\n' linux-image-amd64 2>/dev/null)
|
||||
if [ ! $package_installed ]; then
|
||||
apt-get -yq install linux-image-amd64
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
function turn_off_rsys_logging {
|
||||
|
|
Loading…
Reference in New Issue