test-d.post-install 144 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh

echo "$@" > /post-install

if [ -n "$WAS_EXPORTED" ]; then
	touch /was-exported
fi

if [ -f /should-fail ]; then
	exit 1
fi

exit 0