equal
deleted
inserted
replaced
17 |
17 |
18 if test -f /etc/default/ius.upgrade.conf; then |
18 if test -f /etc/default/ius.upgrade.conf; then |
19 . /etc/default/ius.upgrade.conf |
19 . /etc/default/ius.upgrade.conf |
20 fi |
20 fi |
21 |
21 |
|
22 if ! test -f "$LINES_COUNT"; then |
|
23 echo "$0: $LINES_COUNT is missing" >&2 |
|
24 exit 0 |
|
25 fi |
|
26 |
|
27 if ! test -s "$LINES_COUNT"; then |
|
28 echo "$0: $LINES_COUNT is empty" >&2 |
|
29 exit 0 |
|
30 fi |
|
31 |
22 APT_CMD=$(ps -p $1 -o args=) |
32 APT_CMD=$(ps -p $1 -o args=) |
23 APT_TMP="/tmp/$$.tmp" |
33 APT_TMP="/tmp/$$.tmp" |
24 APT_OUT="/tmp/$$.out" |
34 APT_OUT="/tmp/$$.out" |
25 |
35 |
26 if [ $APT_LOG -nt $LINES_COUNT ]; then |
36 if [ $APT_LOG -nt $LINES_COUNT ]; then |