update repo

pull/69/head
v2ray 9 years ago
parent e09363cb96
commit 9bc68f3575

@ -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."

Loading…
Cancel
Save