installCDE.src: remove duplicate code
[oweals/cde.git] / cde / admin / IntegTools / post_install / size.func
1       if [ "$SRC" != "" ]
2       then
3         set -A tokens $SRC
4         if [ "${tokens[3]}" = "file" ]
5         then
6           if [ -f ${tokens[0]} ]
7           then
8             filesize=`ls -l ${tokens[0]} | awk '{print $5}'`
9             echo "$filesize\t\t\c"
10             echo "${tokens[0]}"
11             let total=total+filesize
12           fi
13         fi
14       fi