aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-28 15:01:13 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-28 15:01:13 +0000
commit387a3e8f393902375e245f83fc79f6a654ea463f (patch)
tree24773cb37c030116edcbd8a2fa6ef0539827befa
parent1fc70de7f0b00d574aab84699bf6f0bc74a0bfee (diff)
downloadrepoctl-387a3e8f393902375e245f83fc79f6a654ea463f.tar
repoctl-387a3e8f393902375e245f83fc79f6a654ea463f.tar.gz
repoctl-387a3e8f393902375e245f83fc79f6a654ea463f.tar.bz2
repoctl-387a3e8f393902375e245f83fc79f6a654ea463f.tar.xz
repoctl-387a3e8f393902375e245f83fc79f6a654ea463f.zip
check distro section in find_src_pkg
-rw-r--r--functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions b/functions
index e7518e0..ac9794c 100644
--- a/functions
+++ b/functions
@@ -242,6 +242,7 @@ function find_src_pkg()
local sectionrepo="$3"
local pkgname="$4"
+ check_distro_section "$distrorelease" "$section" "$sectionrepo"
for file in "$distribdir/$distrorelease/SRPMS/$section/$sectionrepo/"*.rpm
do
local fname=$(rpm -qp --qf '%{NAME}' "$file")