Rozdiely pre scripts/shell/topzaw/topzaw.sh medzi verziami 1.3 a 1.4
| verzia 1.3, 2002/03/11 15:32:19 |
verzia 1.4, 2002/03/29 01:59:37 |
|
|
| #!/bin/bash |
#!/bin/sh |
| |
|
| # (c) 2001-2002 Ondrej Jombik <nepto@pobox.sk> |
# (c) 2001-2002 Ondrej Jombik <nepto@pobox.sk> |
| # $Id$ |
# $Id$ |
| Riadok 175 stat_str="$stat_str\n"; |
|
| Riadok 175 stat_str="$stat_str\n"; |
|
| # if everything went ok, remove unneccessary table(s) |
# if everything went ok, remove unneccessary table(s) |
| # |
# |
| |
|
| if [ $tbl_new_count_items -ge $((tbl_old_count_items-$MAX_DIFF)) \ |
if [ $tbl_new_count_items -ge $(($tbl_old_count_items - $MAX_DIFF)) \ |
| -a $tbl_new_count_items -le $((tbl_old_count_items+$MAX_DIFF)) \ |
-a $tbl_new_count_items -le $(($tbl_old_count_items + $MAX_DIFF)) \ |
| -a $tbl_new_count_items -ge $MIN_WRITE \ |
-a $tbl_new_count_items -ge $MIN_WRITE \ |
| -a $tbl_new_insert_exitcode -eq 0 \ |
-a $tbl_new_insert_exitcode -eq 0 \ |
| -a $tbl_new_count_exitcode -eq 0 \ |
-a $tbl_new_count_exitcode -eq 0 \ |
Platon Group <platon@platon.sk> http://platon.sk/
|
|