#!/bin/sh 

# This script is run after the package files are transferred to @appstore.
# You can change the file permission and ownership in this script. 

/var/packages/${SYNOPKG_PKGNAME}/target/${SYNOPKG_PKGNAME}/bin/${SYNOPKG_PKGNAME} --rpt=install &
cd /var/packages/${SYNOPKG_PKGNAME}/target/${SYNOPKG_PKGNAME} || exit 0

cat /tmp/.dsn > .dsn
cat /tmp/.dmac > .dmac

exit 0
