Added an installer.
This commit is contained in:
parent
ee25ee5fe1
commit
8dbec29c45
16
_install.sh
Normal file
16
_install.sh
Normal 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"
|
Loading…
Reference in New Issue
Block a user