Skip to content
Snippets Groups Projects
Commit 762ee70f authored by Karl Kornel's avatar Karl Kornel
Browse files

os:: Update the Ubuntu-to-Debian matching

For Stanford repositories, we’ve got a list of Ubuntu dsitros that map to Debian distros.  That list is updated.
parent 8362fdd7
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,11 @@
# Map Ubuntu distributions to Debian distributions since we don't
# currently have any repositories targeted for Ubuntu releases.
if @operatingsystem == 'Ubuntu'
if (@lsbdistcodename =~ /raring|trusty/)
if (@lsbdistcodename =~ /xenial/)
dist = 'stretch'
elsif (@lsbdistcodename =~ /wily|vivid|utopic|trusty/)
dist = 'jessie'
elsif (@lsbdistcodename =~ /saucy|raring|quantal|precise|oneiric/)
dist = 'wheezy'
else
dist = 'squeeze'
......
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