forked from kiss-community/kiss
kiss-stray: new utility to list 'stray' files
Lists files that have no owner - its addition is due to changes in 'kiss-preferred'
This commit is contained in:
parent
2e7e04a537
commit
c24a7dc78d
7
contrib/kiss-stray
Executable file
7
contrib/kiss-stray
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# Return a list of files that have no package owner.
|
||||||
|
|
||||||
|
kiss alternatives \
|
||||||
|
| cut -d' ' -f2 \
|
||||||
|
| xargs -I{} -P0 \
|
||||||
|
sh -c "owner=\$(kiss owns {}); [ \$owner ] || printf 'warning: {} has no owner\n'"
|
Loading…
Reference in New Issue
Block a user