2021-11-02 13:52:15 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-11-02 14:00:15 +00:00
|
|
|
SOURCE=$(pwd)
|
2021-11-02 13:58:20 +00:00
|
|
|
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
|
2021-11-02 13:52:15 +00:00
|
|
|
|
|
|
|
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"
|