diff options
Diffstat (limited to 'net/dcd/files/pkg-install.in')
-rw-r--r-- | net/dcd/files/pkg-install.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/dcd/files/pkg-install.in b/net/dcd/files/pkg-install.in new file mode 100644 index 00000000000..585a18d73eb --- /dev/null +++ b/net/dcd/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 |