Skip to content

Commit

Permalink
Add support for new platform releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Barabazs committed Mar 12, 2022
1 parent b79e818 commit 9185d28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ Before submitting a bug report in the [issue tracker](https://github.com/AdnanHo
#### Supported platforms are:

* Debian: Jessie 8.0/Stretch 9.0/Buster 10/Bullseye 11/Bookworm (testing)/Sid (unstable)
* Ubuntu: 14.04 Trusty - 21.10 Impish
* Ubuntu: 14.04 Trusty - 22.04 Jammy
* elementary OS: 0.3 Freya- 6.1 Jolnir
* Mint: 15 Olivia / 20.3 Una
* LMDE: 2 Betsy/3 Cindy/4 Debbie
* Kali: kali-rolling/2016.2/2017.3/2018.3/2018.4
* LMDE: 2 Betsy - 5 Elsie
* Kali: kali-rolling/2016.2/2017.3/2018.3/2018.4/2022.1
* Deepin: 15 - 15.4.1
* MX Linux: 17.1/18
* BunsenLabs: Helium
* Parrot: 4.5
* Devuan: ASCII
* Pop!_OS: 20.04 Focal - 21.10 Impish
* Pop!_OS: 20.04 Focal - 22.04 Jammy
* Nitrux: nitrux
* Zorin: focal

Expand Down
8 changes: 4 additions & 4 deletions displaylink-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ echo -e "\n---------------------------------------------------------------\n"
# Ubuntu
if [ "$lsb" == "Ubuntu" ] || [ "$lsb" == "Neon" ];
then
if [ $codename == "trusty" ] || [ $codename == "vivid" ] || [ $codename == "wily" ] || [ $codename == "xenial" ] || [ $codename == "yakkety" ] || [ $codename == "zesty" ] || [ $codename == "artful" ] || [ $codename == "bionic" ] || [ $codename == "cosmic" ] || [ $codename == "disco" ] || [ $codename == "eoan" ] || [ $codename == "focal" ] || [ $codename == "groovy" ] || [ $codename == "hirsute" ] || [ $codename == "impish" ];
if [ $codename == "trusty" ] || [ $codename == "vivid" ] || [ $codename == "wily" ] || [ $codename == "xenial" ] || [ $codename == "yakkety" ] || [ $codename == "zesty" ] || [ $codename == "artful" ] || [ $codename == "bionic" ] || [ $codename == "cosmic" ] || [ $codename == "disco" ] || [ $codename == "eoan" ] || [ $codename == "focal" ] || [ $codename == "groovy" ] || [ $codename == "hirsute" ] || [ $codename == "impish" ] || [ $codename == "jammy" ];
then
echo -e "\nPlatform requirements satisfied, proceeding ..."
else
Expand Down Expand Up @@ -223,7 +223,7 @@ then
# Issue 464
elif echo $lsb | grep -qi "Linuxmint" ;
then
if [ $codename == "sarah" ] || [ $codename == "rosa" ] || [ $codename == "petra" ] || [ $codename == "olivia" ] || [ $codename == "serena" ] || [ $codename == "sonya" ] || [ $codename == "sylvia" ] || [ $codename == "tara" ] || [ $codename == "tessa" ] || [ $codename == "betsy" ] || [ $codename == "cindy" ] || [ $codename == "tina" ] || [ $codename == "tricia" ] || [ $codename == "debbie" ] || [ $codename == "ulyana" ] || [ $codename == "ulyssa" ] || [ $codename == "uma" ] || [ $codename == "una" ];
if [ $codename == "sarah" ] || [ $codename == "rosa" ] || [ $codename == "petra" ] || [ $codename == "olivia" ] || [ $codename == "serena" ] || [ $codename == "sonya" ] || [ $codename == "sylvia" ] || [ $codename == "tara" ] || [ $codename == "tessa" ] || [ $codename == "betsy" ] || [ $codename == "cindy" ] || [ $codename == "tina" ] || [ $codename == "tricia" ] || [ $codename == "debbie" ] || [ $codename == "ulyana" ] || [ $codename == "ulyssa" ] || [ $codename == "uma" ] || [ $codename == "una" ] || [ $codename == "elsie" ];
then
echo -e "\nPlatform requirements satisfied, proceeding ..."
else
Expand All @@ -234,7 +234,7 @@ then
elif [ "$lsb" == "Kali" ];
then
# issue: 204
if [ $codename == "kali-rolling" ] || [ $codename == "2016.2" ] || [ $codename == "2017.3" ] || [ $codename == "2018.3" ] || [ $codename == "2018.4" ] || [ $codename == "n/a" ];
if [ $codename == "kali-rolling" ] || [ $codename == "2016.2" ] || [ $codename == "2017.3" ] || [ $codename == "2018.3" ] || [ $codename == "2018.4" ] || [ $codename == "2022.1" ] || [ $codename == "n/a" ];
then
echo -e "\nPlatform requirements satisfied, proceeding ..."
else
Expand Down Expand Up @@ -284,7 +284,7 @@ then
# PopOS
elif [ "$lsb" == "Pop" ];
then
if [ $codename == "focal" ] || [ $codename == "groovy" ] || [ $codename == "hirsute" ] || [ $codename == "impish" ] || [ $codename == "n/a" ];
if [ $codename == "focal" ] || [ $codename == "groovy" ] || [ $codename == "hirsute" ] || [ $codename == "impish" ] || [ $codename == "jammy" ] || [ $codename == "n/a" ];
then
echo -e "\nPlatform requirements satisfied, proceeding ..."
else
Expand Down

0 comments on commit 9185d28

Please sign in to comment.