I removed -X from less call. This is not in busybox less.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
master
Peter John Hartman 3 years ago committed by Stacy Harper
parent 7318e2b5cf
commit a2653f741d
No known key found for this signature in database
GPG Key ID: 5BAC92328B7C5D65
  1. 2
      scripts/core/sxmo_migrate.sh

@ -18,7 +18,7 @@ defaultconfig() {
( (
printf "\e[31mThe file \e[32m%s\e[31m differs\e[0m\n" "$2" printf "\e[31mThe file \e[32m%s\e[31m differs\e[0m\n" "$2"
smartdiff -ud "$2" "$1" smartdiff -ud "$2" "$1"
) | less -RXF ) | less -RF
printf "\e[33mDo you want to apply the default? [y/N]\e[0m " printf "\e[33mDo you want to apply the default? [y/N]\e[0m "
read -r reply < /dev/tty read -r reply < /dev/tty
if [ "y" = "$reply" ]; then if [ "y" = "$reply" ]; then

Loading…
Cancel
Save