* extfs/rpm: Use --nosignature only if rpm supports this.

This commit is contained in:
Andrew V. Samoilov 2002-12-29 09:19:36 +00:00
parent 1df610498d
commit 196dd0c1de
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-12-29 Andrew V. Samoilov <sav@bcs.zp.ua>
* extfs/rpm: Use --nosignature only if rpm supports this.
2002-12-25 Pavel Roskin <proski@gnu.org>
* extfs.c (read_archive): Free archive if the "list" command

View File

@ -16,7 +16,11 @@ unset LC_ALL
LC_TIME=C
export LC_TIME
RPM="rpm --nosignature"
if rpm --nosignature --version >/dev/null 2>&1; then
RPM="rpm --nosignature"
else
RPM="rpm"
fi
RPM2CPIO="rpm2cpio"
mcrpmfs_list ()