#!/bin/sh SOURCE=$(dirname $0) [[ -e "$SOURCE/dbash" ]] || { echo "Please cd to the directory containing this file and try to run _install.sh again." ; exit 1 } TARGET=/usr/local/bin ln -sf "$SOURCE/dbash" "$TARGET/dbash" ln -sf "$SOURCE/dhelp" "$TARGET/dhelp" ln -sf "$SOURCE/dlogs" "$TARGET/dlogs" ln -sf "$SOURCE/dlogsl" "$TARGET/dlogsl" ln -sf "$SOURCE/dlr" "$TARGET/dlr" ln -sf "$SOURCE/dps.rb" "$TARGET/dps" ln -sf "$SOURCE/dsh" "$TARGET/dsh" ln -sf "$SOURCE/dstats" "$TARGET/dstats" ln -sf "$SOURCE/dup.rb" "$TARGET/dup" ln -sf "$SOURCE/ofelias.rb" "$TARGET/ofelias"