From 7a1a0a48a9a413aa44efbd436985e58c4a2e3d3a Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Mon, 23 Feb 2015 08:19:41 +0530 Subject: added text formatting in dialog --- update-tool/patcher.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit