diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index 242c646..62a1ab7 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -1,7 +1,7 @@ #!/bin/bash ################################################################################ ################################################################################ -######################## AmRRON Setup Script v0.7.3 ######################## +######################## AmRRON Setup Script v0.7.4 ######################## ######################## Created by TB-14 ######################## ######################## 18 OCT 22 ######################## ################################################################################ @@ -464,6 +464,7 @@ echo "100% Complete" function add_dialout() { +if [[ $PLAT = "Linuxmint" ]]; then if $(id | grep dialout); then echo "User already a member of Dialout"; return else @@ -471,6 +472,7 @@ echo "Adding user to dialout group" sudo usermod -a -G dialout $USER || { ERRCODE="Unable to add user to dialout group. You will need to run sudo usermod -a -G dialout $USER"; errors; return; } fi +fi } diff --git a/changelogs/CHANGELOG-Setup-Script.md b/changelogs/CHANGELOG-Setup-Script.md index 9261347..b9be7c6 100644 --- a/changelogs/CHANGELOG-Setup-Script.md +++ b/changelogs/CHANGELOG-Setup-Script.md @@ -1,3 +1,6 @@ +# Version 0.7.4 +- added function to add Linux Mint user to dialout group. + # Version 0.7.3 - More clean up for os detection and dependencies - Removed stated support for old operating systems. Stated support for Buster, Bullseye(32/64bit), Mint 20.3/21.