Skip to content

Commit

Permalink
unsupport old distros in master
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Apr 18, 2020
1 parent 883d59a commit 323a1e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/platform-is-supported
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,12 @@ if cpu not in supported_cpus:
sys.exit(1)

if distributor == 'Ubuntu':
if release_major < 12:
if release_major < 18:
print "release is too old!"
sys.exit(1)

if distributor == 'Debian':
if release_major < 10:
print "release is too old!"
sys.exit(1)

Expand Down

0 comments on commit 323a1e5

Please sign in to comment.