Changeset 23270 for ipk/source.sh4/titanswapskins_tobayer01/CONTROL/prerm
- Timestamp:
- Sep 5, 2013, 1:11:10 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/titanswapskins_tobayer01/CONTROL/prerm
r23248 r23270 9 9 10 10 11 ### FUNCTIONS ###12 13 RES_COL=60 # column number to place the status14 15 echo_success() { # function to print the OK status16 printf "%-${RES_COL}s%s\n" "$1" "[ OK ]"17 }18 19 echo_failure() { # function to print the FAILED status20 printf "%-${RES_COL}s%s\n" "$1" "[FAILED]"21 }22 23 24 25 11 ### MAIN ### 26 12 … … 28 14 SPACE=`getfreespace $plugin_target` 29 15 FREE=`expr $SPACE - 100` 30 echo "Old free space: $FREE kB" 31 32 33 msg="Removing $plugin..." 34 echo_success "$msg" 16 echo "Old free space: ${FREE}kB" 35 17 36 18 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)