summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-05-17 23:17:06 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-05-17 23:17:06 +0200
commit476781ac13afbe276fd9a027077ce4a68fe4acd8 (patch)
tree2542882a27df0bdeb6c3bf0e916b19b04e24bbbf
parent434461b24abcc6f512d1f87311b871324674214b (diff)
Move clear_line call into list_update_local
-rwxr-xr-xbin/ct2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ct b/bin/ct
index 3cfa9cd..ca1de35 100755
--- a/bin/ct
+++ b/bin/ct
@@ -366,6 +366,7 @@ function list_update_local {
progress ${current} ${all} 'Updating package list' ${package}
vcs_to_list ${package} >> ${PKG_DIR}/.list
}
+ clear_line
}
function list_update_remote {
@@ -914,7 +915,6 @@ function pkg_update {
if [[ -z ${1} || ${1} == local ]] {
info "Updating local package list\n"
list_update_local
- clear_line
}
if [[ -z ${1} || ${1} == remote ]] {