#!/usr/bin/bash

case "$1" in
    config)
        echo "id: example_pre_script"
        echo "description: Example pre-script"
        echo "stage: verification,installation,migration,finalizing,abort"
        echo "substage: pre"
        echo "async: false"
        exit 0
    ;;
esac

# TODO something
echo "message: Run /usr/share/astra-upgrade/scripts/example-pre-script"
#echo "config: example.conf"
#echo "warning: example warning"
#echo "error: example error"
