Explorar el Código

Update motioneye_setup.sh

tteckster hace 3 años
padre
commit
0482815a67
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2 3
      setup/motioneye_setup.sh

+ 2 - 3
setup/motioneye_setup.sh

@@ -65,12 +65,11 @@ echo -e "${CHECKMARK} \e[1;92m Installing Python... \e[0m"
  apt-get install python2 -y &>/dev/null
  apt-get install python2 -y &>/dev/null
  curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py &>/dev/null
  curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py &>/dev/null
  python2 get-pip.py &>/dev/null
  python2 get-pip.py &>/dev/null
- #apt-get install python-dev-is-python2 python-setuptools libssl-dev libcurl4-openssl-dev libjpeg-dev zlib1g-dev libffi-dev libzbar-dev libzbar0 -y &>/dev/null
  apt-get install libffi-dev libzbar-dev libzbar0 -y &>/dev/null
  apt-get install libffi-dev libzbar-dev libzbar0 -y &>/dev/null
  apt-get install python2-dev libssl-dev libcurl4-openssl-dev libjpeg-dev -y &>/dev/null
  apt-get install python2-dev libssl-dev libcurl4-openssl-dev libjpeg-dev -y &>/dev/null
 echo -e "${CHECKMARK} \e[1;92m Installing MotionEye... \e[0m"
 echo -e "${CHECKMARK} \e[1;92m Installing MotionEye... \e[0m"
  apt-get update &>/dev/null
  apt-get update &>/dev/null
- sudo pip install motioneye
+ sudo pip install motioneye &>/dev/null
  mkdir -p /etc/motioneye
  mkdir -p /etc/motioneye
  cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
  cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
  mkdir -p /var/lib/motioneye
  mkdir -p /var/lib/motioneye
@@ -95,4 +94,4 @@ EOF
  systemctl start motioneye
  systemctl start motioneye
 
 
 echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
 echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
- rm -rf /motioneye_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
+ rm -rf /motioneye_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*