#!/bin/sh
echo "$@" > /pre-install
if [ -n "$WAS_EXPORTED" ]; then
touch /was-exported
fi
if [ -f /should-fail ]; then
exit 1
exit 0