Acris / shadowsocks-asuswrt-merlin

Shadowsock for Asuswrt-Merlin New Gen
MIT License
255 stars 44 forks source link

RT-AC86U check git and opkg version failed #1

Closed liguo86 closed 5 years ago

liguo86 commented 5 years ago
  if ! command -v git > /dev/null 2>&1; then
    echo -e "$ansi_red Error: git is not installed, please install git first! $ansi_std"
    exit 1
  fi

  if ! command -v opkg > /dev/null 2>&1; then
    echo -e "$ansi_red Error: opkg is not found, please install Entware first! $ansi_std"
    exit 1
  fi

my 'RT-AC86U' router is installed git and opkg, but run install.sh is failed at these if. run 'git --version' or 'opkg -v' is success.

Acris commented 5 years ago

Hi, Thank you for your feedback. The problem is because command is built in bash and maybe you do not install it. But we changed the installation scripts and removed bash from prerequisites.

Now you just need to run the following command to install shadowsocks-asuswrt-merlin: sh -c "$(wget https://raw.githubusercontent.com/Acris/shadowsocks-asuswrt-merlin/master/tools/install.sh -O -)"

Acris commented 5 years ago

I closed the issue because no further activity occurs, feel free to reopen it if needed.