Add more commands to PATH

This commit is contained in:
Matthew Grove
2019-04-04 15:12:28 +01:00
parent 8d5474c0b7
commit 16be1890cf
3 changed files with 23 additions and 10 deletions

3
config
View File

@@ -57,7 +57,8 @@ chmod +x btpl.sh reconfigure
mkdir ~/.bluetooth-proximity-locking > /dev/null 2>&1
mkdir bin > /dev/null 2>&1
mv btpl.sh bin/btpl > /dev/null 2>&1
# add command 'btpl' to PATH
mv reconfigure bin/btpl-reconfig > /dev/null 2>&1
# add commands 'btpl' and 'btpl-reconfig' to PATH
if ! grep -Fq 'export PATH=$PATH":$HOME/.bluetooth-proximity-locking/bin"' ~/.profile
then
echo 'export PATH=$PATH":$HOME/.bluetooth-proximity-locking/bin"' >> ~/.profile