diff --git a/debian/control b/debian/control index cfb4268..8384eb9 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,6 @@ Vcs-Git: https://github.com/Boltgolt/howdy Package: howdy Homepage: https://github.com/Boltgolt/howdy Architecture: all -Essential: no Depends: git, python3, python3-pip, python3-dev, python3-setuptools, build-essential, libpam-python, fswebcam, libopencv-dev, python-opencv, cmake Description: Windows Helloâ„¢ style authentication for Ubuntu. Use your built-in IR emitters and camera in combination with face recognition diff --git a/debian/postinst b/debian/postinst index 9977789..045a1b4 100755 --- a/debian/postinst +++ b/debian/postinst @@ -115,20 +115,6 @@ handleStatus(subprocess.call(["pip3", "install", "face_recognition"])) log("Copying howdy data") -# Make sure /lib/security exists -if not os.path.exists("/lib/security"): - os.makedirs("/lib/security") - -# Abort if a folder for howdy already exists -if os.path.exists("/lib/security/howdy"): - print("\033[31mPrevious installation of howdy found, aborting\033[0m") - sys.exit(1) - -subprocess.call(["ls", "-hals"]) - -# Copy howdy into it's new folder -handleStatus(subprocess.call(["cp", "-R", "..", "/lib/security/howdy/"])) - # Manually change the camera id to the one picked for line in fileinput.input(["/lib/security/howdy/config.ini"], inplace = 1): print(line.replace("device_id = 1", "device_id = " + picked), end="") @@ -238,4 +224,4 @@ print("https://github.com/Boltgolt/howdy-reports/issues/new?title=Post-installat # Let the user know what to do with the link print("Installation complete.") -print("If you want to help the development, please use the link above to post some camera-related information to github") +print("\033[33mIf you want to help the development, please use the link above to post some camera-related information to github!\033[0m")