aboutsummaryrefslogtreecommitdiffstats
path: root/security/openscep/files/pkg-install.in
diff options
context:
space:
mode:
Diffstat (limited to 'security/openscep/files/pkg-install.in')
-rw-r--r--security/openscep/files/pkg-install.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/security/openscep/files/pkg-install.in b/security/openscep/files/pkg-install.in
new file mode 100644
index 00000000000..585a18d73eb
--- /dev/null
+++ b/security/openscep/files/pkg-install.in
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+[ "$2" != "POST-INSTALL" ] && exit 0
+
+for f in %%CONF_FILES%%; do
+ [ -f "%%CONF_DIR%%/$f" ] || cp -p "%%CONF_DIR%%/$f.default" "%%CONF_DIR%%/$f"
+done