#!/bin/sh

process_install()
{
    echo "Performing process_install() commands, using arguments [${*}]..."
}

process_exit()
{
    echo "Performing process_exit() commands, using arguments [${*}]..."
}

for choice in true false file_not_found
do
    if [ "$choice" = "true" ]
    then
        process_install foo bar
    elif [ "$choice" = "false" ]
    then
        process_exit baz qux
    else
        echo "Invalid choice [${choice}]..."
    fi
done