Commit c9bec327 by devttys0

Fixed unbound variable bug in deps.sh

parent 10647c85
......@@ -28,6 +28,7 @@ then
distro_version="${1:-$(lsb_release -r|cut -f 2|cut -c1-2)}"
else
distro="${2:-$(lsb_release -i|cut -f 2)}"
distro_version="${2:-$(lsb_release -r|cut -f 2|cut -c1-2)}"
fi
REQUIRED_UTILS="wget tar python"
APTCMD="apt"
......@@ -154,7 +155,7 @@ then
fi
elif [ $distro != Unknown ]
then
echo "$distro detected"
echo "$distro $distro_version detected"
else
echo "WARNING: Distro not detected, using package-manager defaults"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment