Skip to content

Commit 1186001

Browse files
authored
Merge pull request #116 from PierreGode/ubuntu25
Support for Ubuntu25
2 parents b73950f + 0d9bc54 commit 1186001

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ADconnection.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# This program is open source; you can redistribute it and/or modify it under the terms of the GNU General Public #
77
# This is an normal bash script and can be executed with sh EX: ( sudo sh ADconnection.sh ) #
88
# Generic user setup is: administrator, domain admins, groupnamesudores= groupname=hostname + sudoers on group name in AD groups #
9-
# Supported OS's: Ubuntu 14-24 + mate,Debian ,Cent OS,Rasbian ,Fedora, Linux Mint,Elementary OS and Kali ( autodetect function ) #
9+
# Supported OS's: Ubuntu 14-25 + mate,Debian ,Cent OS,Rasbian ,Fedora, Linux Mint,Elementary OS and Kali ( autodetect function ) #
1010
#This scrips is a long serie of small updates and not well planned, the script works as expected, but this is not beautiful code #
1111
# Maybe someday I re-do the script and make it "good code" but overall it has minimal shellcheck issues #
1212
##################################################################################################################################
@@ -822,7 +822,7 @@ fi
822822
fi
823823
}
824824

825-
################################ Ubuntu 14-20 ###########################################
825+
################################ Ubuntu 14-25 ###########################################
826826
UbuntU(){
827827
export HOSTNAME
828828
myhost=$( hostname | cut -d '.' -f1 )
@@ -998,12 +998,12 @@ exit
998998
fi
999999
fi
10001000
else
1001-
if [ "$var" -eq "17" ] || [ "$var" -eq "18" ] || [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ] || [ "$var" -eq "24" ]
1001+
if [ "$var" -eq "17" ] || [ "$var" -eq "18" ] || [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ] || [ "$var" -eq "24" ] || [ "$var" -eq "25" ]
10021002
then
10031003
echo "${INTRO_TEXT}Detected Ubuntu $var${END}"
10041004
sleep 1
10051005
clear
1006-
if [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ] || [ "$var" -eq "24" ]
1006+
if [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ] || [ "$var" -eq "24" ] || [ "$var" -eq "25" ]
10071007
then
10081008
if [ -f /etc/apt/sources.list.d/aroth-ubuntu-ppa-eoan.list ]
10091009
then

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ New: Added support for readfile for Ubuntu.
1414

1515

1616
Supported OS's:<p>
17-
<li>Ubuntu 14-24 + mate</li>
17+
<li>Ubuntu 14-25 + mate</li>
1818
<li>Debian 8-12</li>
1919
<li>Cent OS</li>
2020
<li>Rasbian</li>

0 commit comments

Comments
 (0)