'Generic Commit'
This commit is contained in:
parent
6e0c9e830a
commit
9918607f74
@ -40,6 +40,14 @@ function version() {
|
|||||||
# ----------------------------------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
function check_packages() {
|
function check_packages() {
|
||||||
|
if [ -f /etc/os-release ]; then
|
||||||
|
. /etc/os-release
|
||||||
|
OS=$NAME
|
||||||
|
# VER=$VERSION_ID
|
||||||
|
else
|
||||||
|
print_error "Could not detect distribution"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Define packages based on distribution
|
# Define packages based on distribution
|
||||||
case $OS in
|
case $OS in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user