changeset 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 7cb722530334
children a63e689d0529
files sbin/ftjail
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sbin/ftjail	Tue Oct 01 00:20:17 2024 +0200
+++ b/sbin/ftjail	Tue Oct 01 13:13:53 2024 +0200
@@ -1419,6 +1419,9 @@
         /usr/sbin/etcupdate -D "${_directory}" -t "${_etcupdate_tarball}"
     fi
 
+    echo "Checking status of etcupdate at DESTDIR=${_directory}"
+    /usr/sbin/etcupdate status -D "${_directory}" || true
+
     if [ "${_opt_keep}" != "yes" ]; then
         echo "Cleaning up..."""
         [ -n "${_u_tmpdir}" ] && [ -d "${_u_tmpdir}" ] && rm -rvf "${_u_tmpdir}"