mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
utils: improved unsupported distro message.
previously, if installing on unkown distro, script would tell user that their distro was unsupported. Changed error message prompting user to install dependecies manually, then retry. Signed-off-by: Gabe Venberg <gabevenberg@gmail.com>
This commit is contained in:
parent
1047840cf8
commit
3cfce5a709
@ -327,7 +327,7 @@ check_deps()
|
||||
debian|ubuntu) sudo apt-get -y install $packages ;;
|
||||
fedora) sudo dnf -y install $packages ;;
|
||||
opensuse*|sles) sudo zypper install -y $packages ;;
|
||||
*) die "Unsupported distro: $ID, install $packages manually and re-run"
|
||||
*) die "Cannot automatically install packages on $ID, install $packages manually and re-run"
|
||||
esac
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user