#!/bin/sh if [ $2 != "POST-INSTALL" ]; then exit 0 fi if [ -e ${PKG_PREFIX}/etc/mtools.conf ]; then echo "Will not overwrite existing ${PKG_PREFIX}/etc/mtools.conf file." else cp -p ${PKG_PREFIX}/etc/mtools.conf.sample ${PKG_PREFIX}/etc/mtools.conf fi