From 8b9102438d890501b3f623608c727682d65fd959 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Fri, 28 Oct 2011 15:44:34 +0000 Subject: if no repository provided, just echo the filename --- functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions b/functions index ccbc2e1..525d111 100644 --- a/functions +++ b/functions @@ -202,6 +202,10 @@ function move_pkg_file() $dryrun rm -f -v "$srcfile" >> "$output" rm_repo_lock "$src_distrorelease" "$src_section" "$src_sectionrepo" fi + if [ -z "$dst_distrorelease$dst_section$dst_sectionrepo$src_distrorelease$src_section$src_sectionrepo" ] + then + echo "$srcfile" >> "output" + fi } # This function can be used to move/remove/link package files -- cgit v1.2.1