1
0
Fork 0
This commit is contained in:
Florian RICHER 2021-06-17 22:03:31 +02:00
parent e67c925593
commit a47d635070
2 changed files with 31 additions and 31 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
OS_NAME=`cat /etc/os-release | grep "^NAME=" | sed 's/NAME=//g'`
OS_NAME=`cat /etc/os-release | grep "^NAME=" | sed 's/NAME=//g' | sed 's/"//g'`
OS_NAME=${OS_NAME^^} # UPPERCASE
case $OS_NAME in