Skip to content

Incorrect overwiting release variable #32

@chromigo

Description

@chromigo
# Check system
check_sys(){
    if [[ -f /etc/redhat-release ]]; then
        release="centos"
...
    elif cat /proc/version | grep -q -E -i "centos|red hat|redhat"; then
        release="centos"
    fi
    release="ubuntu"
    #bit=`uname -m`
}

script contains overwriting logic for release release="ubuntu" in the end of secrion so all previos if logic does not apply
Consider remove this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions