blob: 8bd3336f1fb57536e57ccb7c2c1612e8d06c7d92 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 | TODO: sbolint should check that gtk-update-icon-cache is guarded by
      'if [ -e usr/share/icons/hicolor/icon-theme.cache'.
TODO: check for "if [ -x /usr/bin/whatever ]" in doinst.sh, warn
      if missing. this could be an ill-defined mess.
TODO: sbopkglint could complain if the SlackBuild sets SLKCFLAGS
      but there's no native code.
Future test ideas:
- static libraries? some packages ship these because upstream doesn't
  support shared libs, though. maybe only complain if libfoo.so.* and
  libfoo.a both exist (if we have a shared lib, we shouldn't also have
  a static one). Maybe this should be a disable-able warning?
- duplicate files, maybe the error message could suggest a "ln -s" command
  to use if the file really does need to appear in multiple dirs.
- fonts. make sure they are what their filename says, and are installed to
  the correct /usr/share/fonts/* or /usr/share/kbd/consolefonts dir.
Other ideas:
When linting multiple packages, print a summary: 100 packages checked,
10 failed, 90 passed. Maybe with percentages too.
Clean up the output. Make it easier to grep.
 |