#!/bin/sh
# The locked contract (NASH.md §2, §7) addresses nash at /usr/local/bin/nash on every
# surface (probe, exec argv, $SHELL). The real file lives at /usr/bin/nash per policy;
# this symlink satisfies the contract path.
set -e
if [ "$1" = "configure" ]; then
    mkdir -p /usr/local/bin
    ln -sf /usr/bin/nash /usr/local/bin/nash
fi
