RHEL-62834 Fix post scriptlet

Resolves: RHEL-62834
This commit is contained in:
Zdenek Dohnal 2024-10-16 16:28:50 +02:00
parent 56e616e02c
commit 946683805f

View File

@ -3,7 +3,7 @@
Name: lprint
Version: 1.3.1
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A Label Printer Application
License: Apache-2.0
@ -76,7 +76,7 @@ then
if test ! -f /var/lib/lprint.state -a -f /etc/lprint.conf
then
# if the lprint.conf is the default one from RPM, do not move
grep -q "^# Fedora default configuration" lprint.conf || mv -f /etc/lprint.conf /var/lib/lprint.state
grep -q "^# Fedora default configuration" /etc/lprint.conf || mv -f /etc/lprint.conf /var/lib/lprint.state
fi
fi
@ -114,6 +114,9 @@ fi
%changelog
* Wed Oct 16 2024 Zdenek Dohnal <zdohnal@redhat.com> - 1.3.1-4
- RHEL-62834 Fix post scriptlet
* Thu Aug 08 2024 Zdenek Dohnal <zdohnal@redhat.com> - 1.3.1-3
- rebuilt with updated pappl