diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-11-10 05:57:42 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-11-10 06:02:05 -0500 |
| commit | c7c94ee2d6281f0cd167f434cf328e9adb5fcbec (patch) | |
| tree | c19be73186eeaacd19a69db84e052b31f357d55a | |
| parent | 7b7205642dbef6375bbccebfb2dc736c5dd6dfda (diff) | |
| download | sbo-maintainer-tools-c7c94ee2d6281f0cd167f434cf328e9adb5fcbec.tar.gz | |
sbopkglint: Handle usr/share/applications/intent.cache on -current.
| -rw-r--r-- | NEWS | 6 | ||||
| -rw-r--r-- | sbopkglint.d/35-desktop.t.sh | 1 | ||||
| -rw-r--r-- | sbopkglint.d/pre-doinst.sh | 1 |
3 files changed, 7 insertions, 1 deletions
@@ -9,7 +9,11 @@ sbopkglint: 'file' output (calls executables "i386" rather than "80386"). sbopkglint now just looks for "386". Thanks to Diniz Bortolotto for reporting this. - +- desktop-file-utils now creates a file in /usr/share/applications + called "intent.cache" on Slackware-current. Apply patch from + Mario Antunes to (a) not choke on this file after doinst.sh is run, + and (b) complain in the pre-doinst test if the package contains it. + Same logic as mimeinfo.cache. Thanks, Mario! New in 0.9.9: ============= diff --git a/sbopkglint.d/35-desktop.t.sh b/sbopkglint.d/35-desktop.t.sh index 23ccc41..e9fec81 100644 --- a/sbopkglint.d/35-desktop.t.sh +++ b/sbopkglint.d/35-desktop.t.sh @@ -28,6 +28,7 @@ check_desktop_dir() { [ -e "$f" ] || continue [ "$f" = "usr/share/applications/mimeinfo.cache" ] && continue + [ "$f" = "usr/share/applications/intent.cache" ] && continue [ "$f" = "usr/share/applications/screensavers" ] && continue [ "$( stat -Lc '%a %U %G' "$f" )" = "644 root root" ] || \ diff --git a/sbopkglint.d/pre-doinst.sh b/sbopkglint.d/pre-doinst.sh index 14f745c..c786751 100644 --- a/sbopkglint.d/pre-doinst.sh +++ b/sbopkglint.d/pre-doinst.sh @@ -18,6 +18,7 @@ usr/share/icons/hicolor/icon-theme.cache \ usr/share/glib-2.0/schemas/gschemas.compiled \ usr/share/mime/mime.cache \ usr/share/applications/mimeinfo.cache \ +usr/share/applications/intent.cache \ usr/lib/gio/modules/giomodule.cache \ usr/lib64/gio/modules/giomodule.cache \ usr/lib/perl5/perllocal.pod \ |
