Browse Source

Fix DOS/UNIX TEXT

hongwenjun 6 years ago
parent
commit
f90817b953
1 changed files with 4 additions and 5 deletions
  1. 4 5
      shadowsocks-libev.sh

+ 4 - 5
shadowsocks-libev.sh

@@ -1,9 +1,9 @@
 #!/bin/bash
 # Pure Compilation of Shadowsocks-libev for Debian / Ubuntu
 
-if [ -e /etc/debian_version ];then
-    ## install base soft
-    apt update && apt install -y ca-certificates wget curl unzip vim htop tmux
+if [ -e /etc/debian_version ]; then
+    # install base soft
+    apt update && apt install -y ca-certificates wget curl unzip xz vim htop tmux
 
     ## Debian / Ubuntu   build-essential
     apt install -y git gettext build-essential autoconf libtool libpcre3-dev automake
@@ -17,7 +17,7 @@ fi
 mkdir -p ~/libev_ss  &&  cd ~/libev_ss
 
 wget https://jaist.dl.sourceforge.net/project/asciidoc/asciidoc/8.6.9/asciidoc-8.6.9.zip
-unzip asciidoc-8.6.9.zip
+unzip -o asciidoc-8.6.9.zip
 cd asciidoc-8.6.9
 ./configure
 make
@@ -83,4 +83,3 @@ make
 make install
 
 /usr/local/bin/ss-server -v
-############################