Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison sbin/ftjail @ 679:e4e7a33c8b75
ftjail: after doing a freebsd-update and etcupdate also call "etcupdate status" to show the status after updating
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 01 Oct 2024 13:13:53 +0200 |
| parents | e8fc5856a9af |
| children | 5156eaa27ac9 |
comparison
equal
deleted
inserted
replaced
| 678:7cb722530334 | 679:e4e7a33c8b75 |
|---|---|
| 1417 # Note: Check for readability has been done above | 1417 # Note: Check for readability has been done above |
| 1418 echo "Calling etcupdate for DESTDIR=${_directory}" | 1418 echo "Calling etcupdate for DESTDIR=${_directory}" |
| 1419 /usr/sbin/etcupdate -D "${_directory}" -t "${_etcupdate_tarball}" | 1419 /usr/sbin/etcupdate -D "${_directory}" -t "${_etcupdate_tarball}" |
| 1420 fi | 1420 fi |
| 1421 | 1421 |
| 1422 echo "Checking status of etcupdate at DESTDIR=${_directory}" | |
| 1423 /usr/sbin/etcupdate status -D "${_directory}" || true | |
| 1424 | |
| 1422 if [ "${_opt_keep}" != "yes" ]; then | 1425 if [ "${_opt_keep}" != "yes" ]; then |
| 1423 echo "Cleaning up...""" | 1426 echo "Cleaning up...""" |
| 1424 [ -n "${_u_tmpdir}" ] && [ -d "${_u_tmpdir}" ] && rm -rvf "${_u_tmpdir}" | 1427 [ -n "${_u_tmpdir}" ] && [ -d "${_u_tmpdir}" ] && rm -rvf "${_u_tmpdir}" |
| 1425 fi | 1428 fi |
| 1426 echo "Done." | 1429 echo "Done." |
