ble.sh/Makefile

25 lines
561 B
Makefile
Raw Normal View History

2023-12-23 16:20:09 +02:00
all:
echo OK
download-blesh:
wget "https://github.com/akinomyoga/ble.sh/releases/download/v0.3.4/ble-0.3.4.tar.xz" -O "ble-0.3.4.tar.xz"
extract-blesh:
tar xvf ble-0.3.4.tar.xz
cleanup:
rm -vf ble-0.3.4.tar.xz
rm -vfr ./ble-0.3.4
install-blesh:
mkdir -p /usr/local/share/blesh
rsync -av ./ble-0.3.4/ /usr/local/share/blesh/
chown -R root:root /usr/local/share/blesh/
chmod -R o-w /usr/local/share/blesh/
bash add-blesh-to-bashrc.sh
set-shell-to-bash:
usermod --shell "/bin/bash" $$(whoami)
2023-12-26 19:57:20 +02:00
install: download-blesh extract-blesh install-blesh