mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Update ADconnection.sh
Added support for Ubuntu Mate + remade OS Detection
This commit is contained in:
parent
5f44ae3ffb
commit
5bd6f3c7af
@ -217,7 +217,7 @@ linuxclient(){
|
|||||||
desktop=$( sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop )
|
desktop=$( sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop )
|
||||||
rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
|
rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
|
||||||
kalilinux=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
|
kalilinux=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
|
||||||
|
#### OS detection
|
||||||
if [ "$desktop" = "desktop" ]
|
if [ "$desktop" = "desktop" ]
|
||||||
then
|
then
|
||||||
if [ "$rasp" = "Raspbian" ]
|
if [ "$rasp" = "Raspbian" ]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user