File set_proftpd_1.3.latest.sh of Package dba-proftpd-134e

#!/bin/bash
#set -x
v=`ls -1d 1.3.? 1.3.?? 1.3.??? 1.3.???? 2>/dev/null|cut -d "." -f3 |sort -n |tail -1`
i=`ls -l 1.3.latest.bak* 2>/dev/null|wc -l`
test -L 1.3.latest && mv 1.3.latest 1.3.latest.bak.${i}
rc=`ln -fs 1.3.${v} 1.3.latest`
exit $rc