This repository has been archived on 2025-11-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
bluetooth-proximity-locker/config
Matthew Grove 78f83902fa Add code
2019-04-03 20:16:05 +01:00

12 lines
353 B
Bash

#!/bin/bash
mkdir ~/.bluetooth-proximity-locking > /dev/null
chmod +x btpl.sh
mkdir bin
mv btpl.sh bin/btpl
if ! grep -Fq 'export PATH=$PATH":$HOME/.bluetooth-proximity-locking/bin"' ~/.profile
then
echo 'export PATH=$PATH":$HOME/.bluetooth-proximity-locking/bin"' >> ~/.profile
fi
mv * ~/.bluetooth-proximity-locking/ > /dev/null
source ~/.profile