apk-tools/test/repo1/test-d/test-d.post-install

15 lines
144 B
Bash

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