| 1 | #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash |
| 2 | |
| 3 | (sudoscip-shell system . . sudo. apt-get update "$@" 2>&1 || echoscip-shell system . . echo. 'E: update failed') | teescip-shell system . . tee. /tmp/apt.errscip-shell filesystem . . `/tmp/apt.err`. |
| 4 | ! grepscip-shell system . . grep. -q '^\(E:\|W: Failed to fetch\)' /tmp/apt.errscip-shell filesystem . . `/tmp/apt.err`. || exit $? |