From 81c1a06991d5ee1a0c32c72780f58983c4afd878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 29 Jun 2011 06:28:55 +0200 Subject: easy_e17.sh: fix updated_packages on install action --- easy_e17.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/easy_e17.sh b/easy_e17.sh index eb6394c..824dd82 100755 --- a/easy_e17.sh +++ b/easy_e17.sh @@ -1185,9 +1185,9 @@ else fi # parse updates +open_header "Parsing updates" +echo "- parse updated sources ..." if [ "$action" == "update" ] && [ -e "$tmp_path/source_update.log" ]; then - open_header "Parsing updates" - echo "- parse updated sources ..." if [ $git -eq 0 ]; then parse_svn_updates else @@ -1196,6 +1196,8 @@ if [ "$action" == "update" ] && [ -e "$tmp_path/source_update.log" ]; then if [ -z "$updated_packages" ]; then echo "- nothing to do" fi +elif [ "$action" == "install" ]; then + updated_packages=$effective_packages fi pkg_total=`echo "$updated_packages" | wc -w` -- cgit v1.1-2-g2b99