Révision d272622b
Exit when retrieving updates fails.
| plugins/other/pacman_pending_updates | ||
|---|---|---|
| 25 | 25 |
|
| 26 | 26 |
=head1 VERSION |
| 27 | 27 |
|
| 28 |
1.1.0
|
|
| 28 |
1.1.1
|
|
| 29 | 29 |
|
| 30 | 30 |
=head1 AUTHOR |
| 31 | 31 |
|
| ... | ... | |
| 54 | 54 |
;; |
| 55 | 55 |
|
| 56 | 56 |
*) |
| 57 |
updates="$(checkupdates)" |
|
| 57 |
updates="$(checkupdates)" || exit
|
|
| 58 | 58 |
if [ -n "$updates" ]; then |
| 59 | 59 |
echo "updates.value $(echo "$updates" | wc -l)" |
| 60 | 60 |
echo "updates.extinfo $(echo "$updates" | paste -s -d,)" |
Formats disponibles : Unified diff