Fix sxmo_migrate.sh colorisation
busybox less cannot display colors. As we use the -F arg to stop less if the page fit in one screen, we can just use more without arguments. Both behave the same but more god color capabilities. Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
		
							parent
							
								
									6dce18e579
								
							
						
					
					
						commit
						bdccd244c4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -19,7 +19,7 @@ resolvedifference() { | |||
| 	( | ||||
| 		printf "\e[31mThe file \e[32m%s\e[31m differs\e[0m\n" "$userfile" | ||||
| 		smartdiff -ud "$userfile" "$defaultfile" | ||||
| 	) | less -RF | ||||
| 	) | more | ||||
| 
 | ||||
| 	printf "\e[33mDo you want to apply the default? [y/N], or perhaps open an editor [e]?\e[0m " | ||||
| 	read -r reply < /dev/tty | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue