Projects STRLCPY nssh Commits a86322a7
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    install.sh
    skipped 1 lines
    2 2   
    3 3  YUM_CMD=$(which yum)
    4 4  APT_GET_CMD=$(which apt-get)
     5 +PACMAN_GET_CMD=$(which pacman)
    5 6   
    6 7  if [[ ! -z $YUM_CMD ]]; then
    7 8   yum install -y dialog
    8 9  elif [[ ! -z $APT_GET_CMD ]]; then
    9 10   apt-get install -y dialog
     11 +elif [[ ! -z $PACMAN_GET_CMD ]]; then
     12 + pacman -S dialog
    10 13  else
    11 14   echo "error can't install package dialog"
    12 15   exit 1;
    skipped 7 lines
Please wait...
Page is in error, reload to recover