Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison sbin/fpkg @ 451:e7eba671bd74
Docs
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 10 May 2024 09:16:57 +0200 |
| parents | 9c3b1966ba91 |
| children | d5591ebc303d |
comparison
equal
deleted
inserted
replaced
| 450:ccd6c36da449 | 451:e7eba671bd74 |
|---|---|
| 124 has_same_userland_version() { | 124 has_same_userland_version() { |
| 125 : 'Check whether the jail `_jail` has the same FreeBSD userland version | 125 : 'Check whether the jail `_jail` has the same FreeBSD userland version |
| 126 as the host the the current process runs. | 126 as the host the the current process runs. |
| 127 | 127 |
| 128 Args: | 128 Args: |
| 129 _jail: the running jail to check for | 129 _jail: the running jail (name or jail id) to check for |
| 130 | 130 |
| 131 Returns: | 131 Returns: |
| 132 0 if the userland versions match, 1 otherwise | 132 0 if the userland versions match, 1 otherwise |
| 133 | 133 |
| 134 ' | 134 ' |
