Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Mint Support #434

Merged
merged 3 commits into from
Oct 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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";;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not have a way to test this, is "3" what the $major_version will resolve to? What version of the facts module are you using?

Copy link
Contributor Author

@luckyraul luckyraul Oct 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 is LMDE
18, 19 is LinuxMint

"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