]>
git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - scripts/Lindent
3 PARAM
="-npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1"
5 RES
=`indent --version | cut -d' ' -f3`
6 if [ "$RES" = "" ]; then
9 V1
=`echo $RES | cut -d'.' -f1`
10 V2
=`echo $RES | cut -d'.' -f2`
11 V3
=`echo $RES | cut -d'.' -f3`
13 if [ $V1 -gt 2 ]; then
15 elif [ $V1 -eq 2 ]; then
16 if [ $V2 -gt 2 ]; then
18 elif [ $V2 -eq 2 ]; then
19 if [ $V3 -ge 10 ]; then