diff --git a/debian/control b/debian/control index 128a891..2b4262b 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,7 @@ Vcs-Git: https://github.com/boltgolt/howdy Package: howdy Homepage: https://github.com/boltgolt/howdy Architecture: all -Depends: ${misc:Depends}, curl|wget, python3-pip, python3-dev, python3-setuptools, libpam-python, fswebcam, libopencv-dev, cmake, streamer +Depends: ${misc:Depends}, curl|wget, python3, python3-pip, python3-dev, python3-setuptools, libpam-python, fswebcam, libopencv-dev, cmake, streamer Recommends: libatlas-base-dev | libopenblas-dev | liblapack-dev Suggests: nvidia-cuda-dev (>= 7.5) Description: Howdy: Windows Hello style authentication for Linux. diff --git a/debian/postinst b/debian/postinst index 31066b2..7ceb41c 100755 --- a/debian/postinst +++ b/debian/postinst @@ -81,6 +81,11 @@ if not os.path.exists("/tmp/howdy_picked_device"): with open("/lib/security/howdy/config.ini", "w") as configfile: newConf.write(configfile) + # Install dlib data files if needed + if not os.path.exists("/lib/security/howdy/dlib-data/shape_predictor_5_face_landmarks.dat"): + print("Attempting installation of missing data files") + handleStatus(subprocess.call(["./install.sh"], shell=True, cwd="/lib/security/howdy/dlib-data")) + sys.exit(0) # Open the temporary file containing the device ID diff --git a/src/cli/test.py b/src/cli/test.py index c214819..3c99289 100644 --- a/src/cli/test.py +++ b/src/cli/test.py @@ -1,4 +1,3 @@ -#! /usr/bin/python3 # Show a windows with the video stream and testing information # Import required modules diff --git a/src/recorders/ffmpeg_reader.py b/src/recorders/ffmpeg_reader.py old mode 100755 new mode 100644