Skip to content

Commit f13898a

Browse files
Update Check-ubuntu.sh
1 parent 8009b48 commit f13898a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Check-ubuntu.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
#!/usr/bin/env bash
22
os_type="$(lsb_release -si 2>/dev/null)"
33
if [ "$os_type" != "Ubuntu" ] && [ "$os_type" != "Debian" ]; then
4-
echoerr "Only supports Ubuntu/Debian"
4+
echoerr "Only supports Ubuntu/Debian."
55
exit 1
66
fi
77
if [ "$os_type" = "Ubuntu" ]; then
88
os_ver="$(lsb_release -sr)"
99
if [ "$os_ver" != "16.04" ] && [ "$os_ver" != "14.04" ] && [ "$os_ver" != "12.04" ]; then
10-
echoerr "Only supports Ubuntu 12.04/14.04/16.04"
10+
echoerr "Only supports Ubuntu 12.04/14.04/16.04."
1111
exit 1
1212
fi
13+
fi

0 commit comments

Comments
 (0)