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/prerm

    r23248 r23270  
    99
    1010
    11 ### FUNCTIONS ###
    12 
    13 RES_COL=60                                                                      # column number to place the status
    14 
    15 echo_success() {                                                        # function to print the OK status
    16         printf "%-${RES_COL}s%s\n" "$1" "[  OK  ]"
    17 }
    18 
    19 echo_failure() {                                                        # function to print the FAILED status
    20         printf "%-${RES_COL}s%s\n" "$1" "[FAILED]"
    21 }
    22 
    23 
    24 
    2511### MAIN ###
    2612
     
    2814SPACE=`getfreespace $plugin_target`
    2915FREE=`expr $SPACE - 100`
    30 echo "Old free space: $FREE kB"
    31 
    32 
    33 msg="Removing $plugin..."
    34 echo_success "$msg"
     16echo "Old free space: ${FREE}kB"
    3517
    3618exit 0
Note: See TracChangeset for help on using the changeset viewer.