Skip to content

Commit

Permalink
Added upgrade step and fixed lintian errors
Browse files Browse the repository at this point in the history
  • Loading branch information
boltgolt committed Jan 6, 2019
1 parent 3c8db93 commit 77fd423
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 5 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/cli/test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/python3
# Show a windows with the video stream and testing information

# Import required modules
Expand Down
Empty file modified src/recorders/ffmpeg_reader.py
100755 → 100644
Empty file.

0 comments on commit 77fd423

Please sign in to comment.