aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-11-21 19:08:07 +0000
committerNicolas Vigier <boklm@mageia.org>2011-11-21 19:08:07 +0000
commit7da554182b0d7261ee379bb741fcd2b7d3c79951 (patch)
tree735cb1f8e1b2191979b3a762033f8d34124017c9
parentccdf2f2514d2f15c877fb513812a4321c9377bbf (diff)
downloadrepoctl-7da554182b0d7261ee379bb741fcd2b7d3c79951.tar
repoctl-7da554182b0d7261ee379bb741fcd2b7d3c79951.tar.gz
repoctl-7da554182b0d7261ee379bb741fcd2b7d3c79951.tar.bz2
repoctl-7da554182b0d7261ee379bb741fcd2b7d3c79951.tar.xz
repoctl-7da554182b0d7261ee379bb741fcd2b7d3c79951.zip
use rm_hdlists_needupdate in update_hdlists
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index e5a6caf..36d8c79 100644
--- a/functions
+++ b/functions
@@ -97,7 +97,6 @@ function update_hdlists_if_needed()
do
if get_hdlists_needupdate "$distrorelease" "$section" "$sectionrepo"
then
- rm_hdlists_needupdate "$distrorelease" "$section" "$sectionrepo"
update_hdlists "$distrorelease" "$section" "$sectionrepo"
fi
done
@@ -121,6 +120,7 @@ function update_hdlists()
check_distro_section "$distrorelease" "$section" "$sectionrepo"
get_repo_lock "$distrorelease" "$section" "$sectionrepo"
+ rm_hdlists_needupdate "$distrorelease" "$section" "$sectionrepo"
rm -f "$hdlistsdir/$distrorelease-$section-$sectionrepo"
for arch in $arches
do