summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrikant Patnaik2015-02-23 08:19:41 +0530
committerSrikant Patnaik2015-02-23 08:19:41 +0530
commit7a1a0a48a9a413aa44efbd436985e58c4a2e3d3a (patch)
tree911f91fb625c35c2919b955b4e87e4817cf957cd
parent1b6f1aae1567acdf875693f3e2305484a18deb81 (diff)
downloadFOSSEE-netbook-tools-sample-1.tar.gz
FOSSEE-netbook-tools-sample-1.tar.bz2
FOSSEE-netbook-tools-sample-1.zip
added text formatting in dialogsample-1
-rwxr-xr-xupdate-tool/patcher.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/update-tool/patcher.sh b/update-tool/patcher.sh
index 88c52fe..e66c784 100755
--- a/update-tool/patcher.sh
+++ b/update-tool/patcher.sh
@@ -192,7 +192,8 @@ fi
# ======================================================================================
function apply_updates() {
- question -w 400 -h 150 "Do you want to apply the selected update?\\nThis may install/update the following file(s): '/$files_in_selected_hash'" 2>&1
+ #question -w 400 -h 150 "Do you want to apply the selected update?\\nThis may install/update the following file(s): '/$files_in_selected_hash'" 2>&1
+ question -w 400 -h 150 "Do you want to apply the selected update?\\nThis may install/update the following file(s):\\n\\n $(for each in $(echo $files_in_selected_hash | tr ',' '\n');do echo /$each; done)" 2>&1
[ $? -eq 1 ] && exit 0
for each_file in $(echo $files_in_selected_hash | tr ',' '\n');
do