- Print usage if there are no arguments and stdin is terminal

- Fix grammar in pkg-descr
This commit is contained in:
Alex Kozlov 2015-12-23 10:57:49 +00:00
parent 750a3a58be
commit c72df716d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404282
3 changed files with 4 additions and 3 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= rpm2cpio
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= # none
DISTFILES= # none

View file

@ -4,7 +4,7 @@
PATH=/bin:/usr/bin
if [ $# -eq 0 ]; then
if [ $# -eq 0 -a ! -t 0 ]; then
f=/dev/stdin
elif [ $# -eq 1 ]; then
f=$1

View file

@ -1,7 +1,7 @@
Convert .rpm files to cpio format
Convert .rpm files to cpio format.
Why does the world need another rpm2cpio? because the existing one
won't build unless you have half a ton of things that aren't really
required for it, since it uses the same library used to extract RPM's.
This version just a tiny wrapper around bsdtar.
This version is just a tiny wrapper around bsdtar.