summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-06-29 06:28:55 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-06-29 06:28:55 +0200
commit81c1a06991d5ee1a0c32c72780f58983c4afd878 (patch)
tree54f5d9e28d17aefcd085cbb99e7ddd0925eb529b
parent24be94ff26d9d3c427b0d059f8fc0dbba5a6e239 (diff)
downloadbin-81c1a06991d5ee1a0c32c72780f58983c4afd878.zip
bin-81c1a06991d5ee1a0c32c72780f58983c4afd878.tar.gz
easy_e17.sh: fix updated_packages on install action
-rwxr-xr-xeasy_e17.sh6
1 files 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`