Added an installer.

This commit is contained in:
Fabian Schlenz 2021-11-02 14:52:15 +01:00
parent ee25ee5fe1
commit 8dbec29c45

16
_install.sh Normal file
View File

@ -0,0 +1,16 @@
#!/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"