Installation script
This commit is contained in:
parent
e9b88a0942
commit
fce94c1e44
16
install.sh
Executable file
16
install.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
PWD=`pwd`
|
||||
BIN_PATH=${HOME}/.local/bin
|
||||
|
||||
mkdir -p $BIN_PATH
|
||||
|
||||
cat > $BIN_PATH/pm << EOF
|
||||
cd $PWD
|
||||
./pm.pl "\$@"
|
||||
cd - >/dev/null 2>/dev/null
|
||||
EOF
|
||||
|
||||
chmod +x $BIN_PATH/pm
|
||||
|
||||
echo "Please add $BIN_PATH to your \$PATH variable"
|
Loading…
Reference in New Issue
Block a user