aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-28 15:44:34 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-28 15:44:34 +0000
commit8b9102438d890501b3f623608c727682d65fd959 (patch)
treeaedea27a27f8052e5615c06b0b73d07485bd01f8
parentadf52950d88570d8e4d50459a0282c987802d0a0 (diff)
downloadrepoctl-8b9102438d890501b3f623608c727682d65fd959.tar
repoctl-8b9102438d890501b3f623608c727682d65fd959.tar.gz
repoctl-8b9102438d890501b3f623608c727682d65fd959.tar.bz2
repoctl-8b9102438d890501b3f623608c727682d65fd959.tar.xz
repoctl-8b9102438d890501b3f623608c727682d65fd959.zip
if no repository provided, just echo the filename
-rw-r--r--functions4
1 files changed, 4 insertions, 0 deletions
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