From 4c80425505e01a4640b60e44ceffc18afa4f9bf8 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Fri, 23 Oct 2020 10:48:14 +0000 Subject: [PATCH] lightdm: fixed pre-/post-install scripts by report --- lightdm/.signature | 4 ++-- lightdm/Pkgfile | 9 +++------ lightdm/post-install | 4 ---- lightdm/pre-install | 2 +- 4 files changed, 6 insertions(+), 13 deletions(-) delete mode 100644 lightdm/post-install mode change 100644 => 100755 lightdm/pre-install diff --git a/lightdm/.signature b/lightdm/.signature index 6ae8bc0bb..80a8a7d94 100644 --- a/lightdm/.signature +++ b/lightdm/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF31N9+46XS4quJ3yHwHXI8frLDcu0XnDoF+L/BSpSnyyLfR9eoGNqQOvAUx703cOX8YUtHKnqQa9HKUU9tyb6BgQ= -SHA256 (Pkgfile) = ebf4411b2188a78902e539ec95aa5c907a143afb28ab8d1eaccd0a43fd45c5bb +RWSagIOpLGJF32yfEd/oy7UKsoyWXO3crUbiFr46iT9CSPMcgPaqgRlmt/O2GBvnuLK4kSuiqfFjtDx0v5geJ0riXDuj7ELW6QQ= +SHA256 (Pkgfile) = b663810a5eeb0a1ae1699e27b29e7490fbb46e8db8a38f0b317073c9b12ffe87 SHA256 (.footprint) = b5dda6f9fd58b39b7da8508471581b3b29193dcf703514ee24ce6f804ba5d676 SHA256 (lightdm-1.30.0.tar.xz) = a118779650a3a5b20f05d53c4f9e377b484fbc1810a6b0914a60840d9a581f95 SHA256 (Xsession) = d30321a1b490500483b8ed7825fcff2c24a7c760ac627789ff517693888ec3c5 diff --git a/lightdm/Pkgfile b/lightdm/Pkgfile index 17f98a6ef..4b83f1e7a 100644 --- a/lightdm/Pkgfile +++ b/lightdm/Pkgfile @@ -5,14 +5,11 @@ name=lightdm version=1.30.0 -release=3 +release=4 source=( https://github.com/CanonicalLtd/lightdm/releases/download/$version/$name-$version.tar.xz -Xsession -lightdm-default-config.patch -lightdm.rules lightdm.service -lightdm.pam lightdm-autologin.pam lightdm-greeter.pam -) + Xsession lightdm-default-config.patch lightdm.rules lightdm.service + lightdm.pam lightdm-autologin.pam lightdm-greeter.pam) build() { cd $name-$version diff --git a/lightdm/post-install b/lightdm/post-install deleted file mode 100644 index 705436116..000000000 --- a/lightdm/post-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -getent group lightdm > /dev/null 2>&1 || groupadd -g 620 lightdm -getent passwd lightdm > /dev/null 2>&1 || useradd -c 'Light Display Manager' -u 620 -g lightdm -d /var/lib/lightdm -s /usr/bin/nologin lightdm -passwd -l lightdm > /dev/null diff --git a/lightdm/pre-install b/lightdm/pre-install old mode 100644 new mode 100755 index 705436116..cf1de8371 --- a/lightdm/pre-install +++ b/lightdm/pre-install @@ -1,4 +1,4 @@ #!/bin/sh getent group lightdm > /dev/null 2>&1 || groupadd -g 620 lightdm -getent passwd lightdm > /dev/null 2>&1 || useradd -c 'Light Display Manager' -u 620 -g lightdm -d /var/lib/lightdm -s /usr/bin/nologin lightdm +getent passwd lightdm > /dev/null 2>&1 || useradd -c 'Light Display Manager' -u 620 -g lightdm -d /var/lib/lightdm -s /sbin/nologin lightdm passwd -l lightdm > /dev/null