wok-current diff vim/receipt @ rev 20892
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 09:14:07 2019 +0100 (2019-02-26) |
parents | 6fab3264ba87 |
children | c16b1e0dda38 |
line diff
1.1 --- a/vim/receipt Fri Dec 25 15:23:46 2015 +0200 1.2 +++ b/vim/receipt Tue Feb 26 09:14:07 2019 +0100 1.3 @@ -60,7 +60,7 @@ 1.4 echo "**** Actual VI link : $cmd" 1.5 echo '' 1.6 echo -n 'Do you want vim for /bin/vi (y/N) ? : '; read -t 30 anser 1.7 - if [ "$anser" == 'y' ]; then 1.8 + if [ "$anser" = 'y' ]; then 1.9 echo '' 1.10 echo -n 'Removing vi link to make a new one pointing on /usr/bin/vim...' 1.11 rm "$1/bin/vi" && ln -sf /usr/bin/vim "$1/bin/vi"