Skip to content

Commit

Permalink
(main) Linux Mint Support (puppetlabs#434)
Browse files Browse the repository at this point in the history
* Linux Mint Support

* merge patterns

* fix download_url
  • Loading branch information
luckyraul authored and gimmy committed Jan 23, 2020
1 parent ce79bc6 commit 8ffa3c8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tasks/install_shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,18 @@ case $platform in
filename="${collection}-release-${deb_codename}.deb"
download_url="${apt_source}/${filename}"
;;
"Linuxmint"|"LinuxMint")
info "Mint platform! Lets get you a DEB..."
case $major_version in
"3") deb_codename="stretch";;
"19") deb_codename="bionic";;
"18") deb_codename="xenial";;
"17") deb_codename="trusty";;
esac
filetype="deb"
filename="${collection}-release-${deb_codename}.deb"
download_url="${apt_source}/${filename}"
;;
"Ubuntu")
info "Ubuntu platform! Lets get you a DEB..."
case $platform_version in
Expand Down

0 comments on commit 8ffa3c8

Please sign in to comment.