small dep README.md/prep.sh fixes

These are things that weren't quite right in the comit
c82f038bef.
This commit is contained in:
Scott Lamb 2017-02-05 20:55:41 -08:00
parent f97e232131
commit 625c6f807b
2 changed files with 3 additions and 6 deletions

View File

@ -100,7 +100,7 @@ all non-Rust dependencies:
libavcodec-dev \
libavformat-dev \
libavutil-dev \
libncursesw-dev \
libncurses5w-dev \
libsqlite3-dev
Next, you need Rust 1.15+ and Cargo. The easiest way to install them is by following

View File

@ -116,8 +116,6 @@ SERVICE_BIN="${SERVICE_BIN:-/usr/local/bin/moonfire-nvr}"
#
while getopts ":DS" opt; do
case $opt in
D) SKIP_DB=1
;;
S) SKIP_APT=1
;;
:)
@ -141,9 +139,8 @@ if [ "${SKIP_APT:-0}" != 1 ]; then
libavcodec-dev \
libavformat-dev \
libavutil-dev \
sqlite3 \
libsqlite3-dev \
uuid-runtime
libncurses5w-dev \
libsqlite3-dev
fi
# Check if binary is installed. Setup for build if it is not