#!/usr/bin/env sh if [ $(id -u) -eq 0 ]; then nbsp; nbsp; nbsp;INSTALL_DIR="/usr/local/bin" nbsp; nbsp; nbsp;MANPAGE_DIR="/usr/local/share/man/man1" else nbsp; nbsp; nbsp;INSTALL_DIR="$HOME/.local/bin" nbsp; nbsp; nbsp;MANPAGE_DIR="$HOME/.local/share/man/man1" nbsp; nbsp; nbsp;mkdir -p $INSTALL_DIR $MANPAGE_DIR fi ./build && mv edit9 $INSTALL_DIR && cp edit9.1 $MANPAGE_DIR