From 321ce32139da2713f89420927da4b2ec9c299ed1 Mon Sep 17 00:00:00 2001 From: JezerM Date: Wed, 8 Dec 2021 15:00:31 -0600 Subject: [PATCH] Dependencies fix --- build/DEBIAN/control | 6 +++--- build/DEBIAN/postinst | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/build/DEBIAN/control b/build/DEBIAN/control index c888d53..14e4eed 100644 --- a/build/DEBIAN/control +++ b/build/DEBIAN/control @@ -1,14 +1,14 @@ Package: web-greeter -Version: 3.1.1 +Version: 3.2.0 Provides: lightdm-greeter Replaces: lightdm-webkit-greeter Section: x11 Priority: optional Homepage: https://github.com/JezerM/web-greeter -Installed-Size: 402396 +Installed-Size: 15088 Architecture: all Maintainer: JezerM -Depends: liblightdm-gobject-1-0, liblightdm-gobject-1-dev, python3, python3-gi, python3-qt5, libqt5webengine5 +Depends: liblightdm-gobject-1-0, liblightdm-gobject-1-dev, python3, python3-gi, python3-pyqt5, libqt5webengine5 Description: A modern, visually appealing greeter for LightDM. Web Greeter utilizes themes built with HTML/CSS/JavaScript for it's login screen. Web Greeter themes provide modern, visually appealing, and feature-rich login screens. Two themes are diff --git a/build/DEBIAN/postinst b/build/DEBIAN/postinst index 594d29e..6832ec6 100755 --- a/build/DEBIAN/postinst +++ b/build/DEBIAN/postinst @@ -1,6 +1,8 @@ #!/bin/sh # Link to the binary -ln -sf '/opt/web-greeter/web-greeter' '/usr/bin/web-greeter' +if [ -e '/opt/web-greeter' ]; then + ln -sf '/opt/web-greeter/web-greeter' '/usr/bin/web-greeter' +fi update-desktop-database /usr/share/applications || true