summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2013-07-23 00:00:54 +0000
committererdgeist <erdgeist@erdgeist.org>2013-07-23 00:00:54 +0000
commit79007d81e4ce1fde75cc926d24bdb7a888b55406 (patch)
treef24b526c445ab6b6a933442c350b3c405e2ff981
parentca52d77c09e2fa4e8274604c7e1397e78efc7537 (diff)
make ezjail-admin update -U now also work with patch levels. Thanks to Sebastian Jäschke
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 0746a06..816285e 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -1008,7 +1008,7 @@ setup|update)
1008 1008
1009 # Make the host systems os version our target version 1009 # Make the host systems os version our target version
1010 # Users can override this by setting the UNAME_r environment variable 1010 # Users can override this by setting the UNAME_r environment variable
1011 ezjail_osversion_target="`uname -r`" 1011 ezjail_osversion_target="`uname -r | sed -E 's,-p[0-9]+,,' | sed -E 's,-SECURITY,-RELEASE,'`"
1012 1012
1013 # Finally run freebsd-update to upgrade our basejail 1013 # Finally run freebsd-update to upgrade our basejail
1014 for DESTDIR in ${ezjail_jailbase} ${ezjail_jailtemplate}; do 1014 for DESTDIR in ${ezjail_jailbase} ${ezjail_jailtemplate}; do