diff options
Diffstat (limited to 'tools/templates/core_pkg/default-config-vmware/metadir/+INSTALL')
-rw-r--r-- | tools/templates/core_pkg/default-config-vmware/metadir/+INSTALL | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/templates/core_pkg/default-config-vmware/metadir/+INSTALL b/tools/templates/core_pkg/default-config-vmware/metadir/+INSTALL new file mode 100644 index 0000000..11c69cd --- /dev/null +++ b/tools/templates/core_pkg/default-config-vmware/metadir/+INSTALL @@ -0,0 +1,15 @@ +#!/bin/sh + +if [ "${2}" != "POST-INSTALL" ]; then + exit 0 +fi + +if [ ! -f /cf/conf/config.xml ]; then + cp /conf.default/config.xml /cf/conf/config.xml +fi + +if [ ! -L /conf ]; then + ln -sf /cf/conf /conf +fi + +exit 0 |