ble.sh/Makefile
2023-12-26 19:57:20 +02:00

25 lines
561 B
Makefile

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)
install: download-blesh extract-blesh install-blesh