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

    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
     
    3016SPACE=`getfreespace $plugin_target`
    3117FREE=`expr $SPACE - 100`
     18echo "New free space: ${FREE}kB"
    3219echo
    33 echo "New free space: $FREE kB"
    34 
    3520echo "Successfully removed $plugin."
    3621
Note: See TracChangeset for help on using the changeset viewer.