Skip to content

Commit

Permalink
Merge pull request #57 from PierreGode/PierreGode-patch-1
Browse files Browse the repository at this point in the history
Added support for Ubuntu 24
  • Loading branch information
PierreGode authored Sep 2, 2024
2 parents d8ac70d + ccdab2c commit ca51b64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ADconnection.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# This program is open source; you can redistribute it and/or modify it under the terms of the GNU General Public #
# This is an normal bash script and can be executed with sh EX: ( sudo sh ADconnection.sh ) #
# Generic user setup is: administrator, domain admins, groupnamesudores= groupname=hostname + sudoers on group name in AD groups #
# Supported OS's: Ubuntu 14-22 + mate,Debian ,Cent OS,Rasbian ,Fedora, Linux Mint,Elementary OS and Kali ( autodetect function ) #
# Supported OS's: Ubuntu 14-24 + mate,Debian ,Cent OS,Rasbian ,Fedora, Linux Mint,Elementary OS and Kali ( autodetect function ) #
#This scrips is a long serie of small updates and not well planned, the script works as expected, but this is not beautiful code #
# Maybe someday I re-do the script and make it "good code" but overall it has minimal shellcheck issues #
##################################################################################################################################
Expand Down Expand Up @@ -998,12 +998,12 @@ exit
fi
fi
else
if [ "$var" -eq "17" ] || [ "$var" -eq "18" ] || [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ]
if [ "$var" -eq "17" ] || [ "$var" -eq "18" ] || [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ] || [ "$var" -eq "24" ]
then
echo "${INTRO_TEXT}Detected Ubuntu $var${END}"
sleep 1
clear
if [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ]
if [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ] || [ "$var" -eq "24" ]
then
if [ -f /etc/apt/sources.list.d/aroth-ubuntu-ppa-eoan.list ]
then
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ New: Added support for readfile for Ubuntu.


Supported OS's:<p>
<li>Ubuntu 14-22 + mate</li>
<li>Ubuntu 14-24 + mate</li>
<li>Debian 8-12</li>
<li>Cent OS</li>
<li>Rasbian</li>
Expand Down

0 comments on commit ca51b64

Please sign in to comment.