kiss/contrib
aabacchus 800d3ac854 kiss-maintainer: fix CRUX-style usage
Commit d94c811 changed `sort -u` to `uniq -u`; these are not equivalent.
`uniq -u` suppresses all duplicate lines, but `sort -u` removes all but
one. In the case of there being no command-line args, PWD is taken as
the package, and if that package is in a repo already in KISS_PATH, the
repo will be in KISS_PATH twice. This will cause the `kiss search`
command to give two entries for PWD, and `uniq -u` removes both.
Revert to `sort -u` to keep one of those entries.

If the package in PWD is not installed, there will be not entries left;
if it is installed, kiss-maintainer will try to get the history from
/var/db/kiss/installed/pkg, which is not a git repo.

Example of the incorrect behaviour:
    KISS_PATH=/home/me/repo/core
    PWD=/home/me/repo/core/musl
    $ sh -x /usr/bin/kiss-maintainer
    + '['  ]
    + export 'KISS_PATH=/home/me/repo/core::/home/me/repo/core'
    + set -- musl
    + kiss search musl
    + uniq -u
    + read -r repo
    + read -r repo
    + cd /var/db/kiss/installed/musl
    + git log -1 version
    + m=
    + :
    + m=
    + m=
    + '['  ]
    + continue
    + read -r repo

    (no output)
2022-08-05 21:24:43 +05:30
..
kiss-chroot kiss-chroot: Minor changes. Closes #286 2021-11-04 07:42:09 +02:00
kiss-depends kiss-depends: fix pwd 2020-09-09 13:40:32 +03:00
kiss-fork kiss-fork: minor fixes 2020-11-19 09:53:51 +02:00
kiss-help kiss-help: Expand to displaying README files within repositories 2021-08-27 07:21:42 +03:00
kiss-link Use full kiss subcommands for readability and safety 2020-09-04 13:32:19 -04:00
kiss-maintainer kiss-maintainer: fix CRUX-style usage 2022-08-05 21:24:43 +05:30
kiss-manifest kiss-manifest: clean up 2020-09-09 14:00:54 +03:00
kiss-new contrib: Make doc strings match KISS' 2020-05-01 09:07:20 +03:00
kiss-orphans kiss-orphans: Performance improvements. 2021-09-26 15:00:38 +03:00
kiss-outdated kiss-outdated: libseat -> seatd 2021-11-07 16:33:27 +02:00
kiss-owns kiss-owns: Fix #209 2021-06-28 07:14:57 +00:00
kiss-preferred kiss-preferred: fixes 2020-11-19 11:48:33 +02:00
kiss-revdepends kiss-revdepends: Fix non-posix grep usage 2021-10-05 06:17:38 +03:00
kiss-size kiss-size: fix for packages containing files with quotes in filenames 2022-08-05 21:24:42 +05:30