aboutsummaryrefslogtreecommitdiff
path: root/release/packages
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-06-15 13:27:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-06-15 13:27:57 +0000
commit80a3127a7276d6a4966b33648116198d564f93cb (patch)
tree4773c8006abbf9b2bc5db7f349e5b94defe4a0a9 /release/packages
parentdad2fb7ece7a186a249cfc077018b18fe6d2c836 (diff)
downloadsrc-80a3127a7276d6a4966b33648116198d564f93cb.tar.gz
src-80a3127a7276d6a4966b33648116198d564f93cb.zip
Fix script syntax
Notes
Notes: svn path=/projects/release-pkg/; revision=284415
Diffstat (limited to 'release/packages')
-rw-r--r--release/packages/kernel.ucl6
-rw-r--r--release/packages/runtime.ucl4
2 files changed, 7 insertions, 3 deletions
diff --git a/release/packages/kernel.ucl b/release/packages/kernel.ucl
index ebc017bea4f8..ea6286495879 100644
--- a/release/packages/kernel.ucl
+++ b/release/packages/kernel.ucl
@@ -11,6 +11,8 @@ licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD
-post-install = <<EOD
-/usr/sbin/kldxref ${PKG_ROOTDIR}/boot/kernel
+scripts: {
+ post-install = <<EOD
+ /usr/sbin/kldxref ${PKG_ROOTDIR}/boot/kernel
EOD
+}
diff --git a/release/packages/runtime.ucl b/release/packages/runtime.ucl
index bba2b7eb3595..6f7f40585e9e 100644
--- a/release/packages/runtime.ucl
+++ b/release/packages/runtime.ucl
@@ -11,7 +11,9 @@ licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD
-post-install = <<EOD
+scripts: {
+ post-install = <<EOD
cap_mkdb %CAP_MKDB_ENDIAN% ${PKG_ROOTDIR}/etc/login.conf
pwd_mkdb %PWD_MKDB_ENDIAN% -i -p -d ${PKG_ROOTDIR}/etc ${PKG_ROOTDIR}/etc/master.passwd
EOD
+}