Skip to content

add some thing like this in certain programs that require Ubuntu OS version #44

@tazboyz16

Description

@tazboyz16

case "$CODENAME" in
'wheezy')
TEMPDIST='debian wheezy'
;;
'jessie')
TEMPDIST='debian jessie'
;;
'stretch')
TEMPDIST='debian stretch'
;;
'xenial'|'serena'|'sarah'|'sonya'|'zesty'|'yakkety'|'artful')
TEMPDIST='ubuntu xenial'
;;
'trusty'|'rosa'|'rafaela'|'rebecca'|'qiana')
TEMPDIST='ubuntu trusty'
;;
'precise'|'maya'|'betsy')
TEMPDIST='ubuntu precise'
;;
*)
source "$SCRIPTPATH/inc/invalid-option.sh"
;;
esac

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