Revision aee59012
Added by Renato Botelho almost 8 years ago
src/etc/rc.update_pkg_metadata | ||
---|---|---|
32 | 32 |
sleep $sleep_time \ |
33 | 33 |
&& /usr/local/sbin/${product}-upgrade -uf \ |
34 | 34 |
&& ( \ |
35 |
/usr/local/sbin/${product}-upgrade -Uc > $tmp_version \ |
|
35 |
/usr/local/sbin/${product}-upgrade -Uc | tail -n 1 > $tmp_version \
|
|
36 | 36 |
; rc=$? \ |
37 | 37 |
; echo $rc > ${tmp_version}.rc \ |
38 | 38 |
; test $rc -eq 2 && return 0 || return $rc \ |
Also available in: Unified diff
Consider only last output line