misc: Warn users with weird computers
A user seemed to experience a weird golang issue when they had deps from both package managers installed. I won't block or fail their install, but we can print a warning message so that someone sees it in their logs.
This commit is contained in:
@@ -34,6 +34,11 @@ if [ -z "$YUM" -a -z "$APT" -a -z "$BREW" -a -z "$PACMAN" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# I think having both installed confused golang somehow...
|
||||||
|
if [ ! -z "$YUM" ] && [ ! -z "$APT" ]; then
|
||||||
|
echo "You have both $APT and $YUM installed. Please check your deps manually."
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -z "$YUM" ]; then
|
if [ ! -z "$YUM" ]; then
|
||||||
$sudo_command $YUM install -y libvirt-devel
|
$sudo_command $YUM install -y libvirt-devel
|
||||||
$sudo_command $YUM install -y augeas-devel
|
$sudo_command $YUM install -y augeas-devel
|
||||||
|
|||||||
Reference in New Issue
Block a user