Skip to content
Snippets Groups Projects
Commit 60b5864e authored by Bob Lantz's avatar Bob Lantz
Browse files

Change to not fail if OS not detected, and to print detected OS.

parent 8d1444a9
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
# Mininet install script for Ubuntu (and Debian Lenny)
# Brandon Heller (brandonh@stanford.edu)
......@@ -16,6 +17,7 @@ KERNEL_LOC=http://www.openflow.org/downloads/mininet
DIST=Unknown
RELEASE=Unknown
CODENAME=Unknown
test -e /etc/debian_version && DIST="Debian"
grep Ubuntu /etc/lsb-release &> /dev/null && DIST="Ubuntu"
if [ "$DIST" = "Ubuntu" ] || [ "$DIST" = "Debian" ]; then
......@@ -46,7 +48,6 @@ else
exit 1
fi
# Kernel Deb pkg to be removed:
KERNEL_IMAGE_OLD=linux-image-2.6.26-2-686
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment