- Timestamp:
- Sep 4, 2013, 2:35:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/titanswapskins_tobayer01/CONTROL/postinst
r23247 r23248 14 14 ### FUNCTIONS ### 15 15 16 RES_COL=60 # column number to place the status message 17 MOVE_TO_COL="echo -en \\033[${RES_COL}G" # command to move to the configured column number 16 RES_COL=60 # column number to place the status 18 17 19 echo_success() { # function to print the SUCCESSstatus20 $MOVE_TO_COL; echo -n "[ OK ]"; echo18 echo_success() { # function to print the OK status 19 printf "%-${RES_COL}s%s\n" "$1" "[ OK ]" 21 20 } 22 21 23 echo_failure() { 24 $MOVE_TO_COL; echo -n "[FAILED]"; echo # function to print the FAILED status message22 echo_failure() { # function to print the FAILED status 23 printf "%-${RES_COL}s%s\n" "$1" "[FAILED]" 25 24 } 26 25
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)