Ignore:
Timestamp:
Sep 5, 2013, 1:11:10 AM (13 years ago)
Author:
tobayer
Message:

[titan] tobayer01 skins: optimize control files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/titanswapskins_tobayer01/CONTROL/postinst

    r23248 r23270  
    1212
    1313
    14 ### FUNCTIONS ###
    15 
    16 RES_COL=60                                                                      # column number to place the status
    17 
    18 echo_success() {                                                        # function to print the OK status
    19         printf "%-${RES_COL}s%s\n" "$1" "[  OK  ]"
    20 }
    21 
    22 echo_failure() {                                                        # function to print the FAILED status
    23         printf "%-${RES_COL}s%s\n" "$1" "[FAILED]"
    24 }
    25 
    26 
    27 
    2814### MAIN ###
    2915
     
    3218FREE=`expr $SPACE - 100`
    3319echo
    34 echo "New free space: $FREE kB"
     20echo "New free space: ${FREE}kB"
    3521
    3622
Note: See TracChangeset for help on using the changeset viewer.