aboutsummaryrefslogtreecommitdiff
path: root/Functions/DEB
diff options
context:
space:
mode:
authorLucas C. Villa Real <lucasvr@gmail.com>2018-06-30 01:02:39 -0300
committerLucas C. Villa Real <lucasvr@gmail.com>2018-06-30 01:02:39 -0300
commit37b51b2a5fd3644c6b1842cbe504da6e9bbc588a (patch)
tree4b3694b515472068f271a416648aaef625f643af /Functions/DEB
parente80b7ab3e9847eb8bf3a30d536d6301893c6be38 (diff)
downloadThirdPartyInstallers-37b51b2a5fd3644c6b1842cbe504da6e9bbc588a.tar.xz
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.
Diffstat (limited to 'Functions/DEB')
-rw-r--r--Functions/DEB6
1 files changed, 5 insertions, 1 deletions
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")