diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-10-28 15:44:34 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-10-28 15:44:34 +0000 |
commit | 8b9102438d890501b3f623608c727682d65fd959 (patch) | |
tree | aedea27a27f8052e5615c06b0b73d07485bd01f8 | |
parent | adf52950d88570d8e4d50459a0282c987802d0a0 (diff) | |
download | repoctl-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-- | functions | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |