From 37b51b2a5fd3644c6b1842cbe504da6e9bbc588a Mon Sep 17 00:00:00 2001 From: "Lucas C. Villa Real" Date: Sat, 30 Jun 2018 01:02:39 -0300 Subject: Improved dependency search on rpmfind.net: we now include the distro code (i.e., fc26, fc27, etc) and have a placeholder to check versions when a range filter is given. We can probably use some of the code from Scripts' FindDependencies.c here. --- Functions/DEB | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Functions/DEB') diff --git a/Functions/DEB b/Functions/DEB index 1c0e498..5d59135 100644 --- a/Functions/DEB +++ b/Functions/DEB @@ -17,7 +17,7 @@ function thirdparty_arch() { fi } -function thirdparty_distribution() { +function thirdparty_distribution_name() { local debfile="$1" local distro=$(dpkg-deb --field "$debfile" "Distribution") if [ -z "$distro" ] @@ -26,6 +26,10 @@ function thirdparty_distribution() { fi } +function thirdparty_distribution_code() { + return +} + function thirdparty_dependencies() { local debfile="$1" local deps=$(dpkg-deb --field "$debfile" "Depends") -- cgit v1.1