docker-tools/_install.sh

21 lines
622 B
Bash
Executable File

#!/bin/sh
SOURCE=$(pwd)
TARGET="/usr/local/bin"
if [ ! -e "$SOURCE/dbash" ]; then
echo "Please cd to the directory containing this file and try to run _install.sh again."
exit 1
fi
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/drl" "$TARGET/drl"
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"