#!/bin/sh

if [ "$1" = "" ]
then
	exit 1
fi

if cd ${1}/usr
then
	if mv -f newdb.zip db.zip
	then
		if rm -rf db
		then
			unzip -oqq db.zip
			exit $?
		fi
	fi
fi

exit 1
