xbps-src: rename listfiles target to list-files.
This commit is contained in:
@@ -181,7 +181,10 @@ list_pkg_files()
|
||||
[ -z $pkg ] && msg_error "unexistent package, aborting.\n"
|
||||
|
||||
ver=$($XBPS_PKGDB_CMD version $pkg)
|
||||
[ -z "$ver" ] && msg_error "$pkg is not installed.\n"
|
||||
if [ -z "$ver" ]; then
|
||||
msg_warn "$pkg is not installed.\n"
|
||||
return 1
|
||||
fi
|
||||
|
||||
cat $XBPS_PKGMETADIR/$pkg/flist
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user