#!/bin/ash

set -e

cd ${SYNOPKG_PKGDEST}
if [ -e "config/default" ]; then
	mkdir -p store/config
	cp config/default store/config/default
fi
if [ -e "store" ]; then
	tar cf /var/tmp/${SYNOPKG_PKGNAME}.tar store
fi

exit 0
