Added upgrade step and fixed lintian errors
This commit is contained in:
parent
3c8db931b9
commit
77fd423df9
4 changed files with 6 additions and 2 deletions
2
debian/control
vendored
2
debian/control
vendored
|
|
@ -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.
|
||||
|
|
|
|||
5
debian/postinst
vendored
5
debian/postinst
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
#! /usr/bin/python3
|
||||
# Show a windows with the video stream and testing information
|
||||
|
||||
# Import required modules
|
||||
|
|
|
|||
0
src/recorders/ffmpeg_reader.py
Executable file → Normal file
0
src/recorders/ffmpeg_reader.py
Executable file → Normal file
Loading…
Reference in a new issue