fix posttrans script
Resolves: RHEL-93931
This commit is contained in:
parent
4d18c3bc8b
commit
ddab1c56bd
@ -11,7 +11,7 @@
|
||||
Summary: OpenPrinting CUPS filters and backends
|
||||
Name: cups-filters
|
||||
Version: 1.28.7
|
||||
Release: 23%{?dist}
|
||||
Release: 24%{?dist}
|
||||
|
||||
# For a breakdown of the licensing, see COPYING file
|
||||
# GPLv2: filters: commandto*, imagetoraster, pdftops, rasterto*,
|
||||
@ -395,6 +395,16 @@ fi
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%posttrans
|
||||
if [ $1 -ge 1 ]
|
||||
then
|
||||
/usr/lib/systemd/systemd-update-helper mark-reload-system-units foomaticrip-upgrade.service || :
|
||||
fi
|
||||
|
||||
if [ $1 -ge 1 ]
|
||||
then
|
||||
systemctl start foomaticrip-upgrade.service || :
|
||||
fi
|
||||
|
||||
if ls -lah /var/cache/cups/cups-browsed* &> /dev/null
|
||||
then
|
||||
BROWSED_ACTIVE="0"
|
||||
@ -425,11 +435,6 @@ then
|
||||
systemctl start cups
|
||||
fi
|
||||
fi
|
||||
%systemd_posttrans_with_reload foomaticrip-upgrade.service
|
||||
if [ $1 -gt 1 ]
|
||||
then
|
||||
systemctl start foomaticrip-upgrade.service || :
|
||||
fi
|
||||
|
||||
|
||||
%files
|
||||
@ -566,6 +571,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Oct 13 2025 Zdenek Dohnal <zdohnal@redhat.com> - 1.28.7-24
|
||||
- fix posttrans script
|
||||
|
||||
* Thu Oct 09 2025 Zdenek Dohnal <zdohnal@redhat.com> - 1.28.7-23
|
||||
- RHEL-93931 RFE: Add Allow list for FoomaticRIPCommandLine PPD values
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user