Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison sbin/ftjail @ 654:7bbb397168b7
ftjail: Call "etcupdate" by its full absolute path
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 28 Sep 2024 14:09:38 +0200 |
| parents | e878b3a5b0c5 |
| children | 5ba31e3748ca |
comparison
equal
deleted
inserted
replaced
| 653:e878b3a5b0c5 | 654:7bbb397168b7 |
|---|---|
| 1080 | 1080 |
| 1081 # Update and/or merge configs | 1081 # Update and/or merge configs |
| 1082 if [ -n "${_etcupdate_tarball}" ]; then | 1082 if [ -n "${_etcupdate_tarball}" ]; then |
| 1083 # Note: Check for readability has been done above | 1083 # Note: Check for readability has been done above |
| 1084 echo "Calling etcupdate for DESTDIR=${_directory}" | 1084 echo "Calling etcupdate for DESTDIR=${_directory}" |
| 1085 etcupdate -D "${_directory}" -t "${_etcupdate_tarball}" | 1085 /usr/sbin/etcupdate -D "${_directory}" -t "${_etcupdate_tarball}" |
| 1086 fi | 1086 fi |
| 1087 | 1087 |
| 1088 if [ "${_opt_keep}" != "yes" ]; then | 1088 if [ "${_opt_keep}" != "yes" ]; then |
| 1089 echo "Cleaning up...""" | 1089 echo "Cleaning up...""" |
| 1090 [ -n "${_u_tmpdir}" ] && [ -d "${_u_tmpdir}" ] && rm -rvf "${_u_tmpdir}" | 1090 [ -n "${_u_tmpdir}" ] && [ -d "${_u_tmpdir}" ] && rm -rvf "${_u_tmpdir}" |
