Heray-Was-Here
Server : Apache
System : Linux vps43555.mylogin.co 3.10.0-1160.53.1.vz7.185.3 #1 SMP Tue Jan 25 12:49:12 MSK 2022 x86_64
User : redsea ( 60651)
PHP Version : 7.4.32
Disable Function : NONE
Directory :  /usr/local/rvm/src/rvm/scripts/functions/detect_systems/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/rvm/src/rvm/scripts/functions/detect_systems/lsb_release
#!/usr/bin/env bash

__rvm_detect_system_from_lsb_release()
{
  local __system_name="$( awk -F'=' '$1=="DISTRIB_ID"{print $2}' /etc/lsb-release | head -n 1 | tr '[A-Z]' '[a-z]' | tr -d \" )"

  case $__system_name in
    deepin*)        _system_name="Deepin";;
    elementary*)    _system_name="Elementary";;
    kali*)          _system_name="Kali";;
    linuxmint*)     _system_name="Mint";;
    manjarolinux*)  _system_name="Manjaro";;
    solus*)         _system_name="Solus";;
    neon*)          _system_name="Ubuntu";;
    ubuntu*)        _system_name="Ubuntu";;
    zorin*)         _system_name="Ubuntu";;
    *)              return 1
  esac

  _system_version="$( awk -F'=' '$1=="DISTRIB_RELEASE"{print $2}' /etc/lsb-release | head -n 1 )"
  _system_arch="$( uname -m )"

  return 0
}

Hry