1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00

update repo

This commit is contained in:
v2ray 2016-01-13 01:05:37 +01:00
parent e09363cb96
commit 9bc68f3575

View File

@ -5,9 +5,11 @@ APT_CMD=$(command -v apt-get)
if [ -n "${YUM_CMD}" ]; then if [ -n "${YUM_CMD}" ]; then
echo "Installing unzip and daemon via yum." echo "Installing unzip and daemon via yum."
${YUM_CMD} -q makecache
${YUM_CMD} -y -q install unzip daemon ${YUM_CMD} -y -q install unzip daemon
elif [ -n "${APT_CMD}" ]; then elif [ -n "${APT_CMD}" ]; then
echo "Installing unzip and daemon via apt-get." echo "Installing unzip and daemon via apt-get."
${APT_CMD} -qq update
${APT_CMD} -y -qq install unzip daemon ${APT_CMD} -y -qq install unzip daemon
else else
echo "Please make sure unzip and daemon are installed." echo "Please make sure unzip and daemon are installed."