testan a reboold
This commit is contained in:
+5
-7
@@ -30,11 +30,11 @@ https://repos.influxdata.com/influxdata-archive.key \
|
|||||||
| sudo tee /etc/apt/sources.list.d/influxdata.list
|
| sudo tee /etc/apt/sources.list.d/influxdata.list
|
||||||
|
|
||||||
# remove dat key file thing
|
# remove dat key file thing
|
||||||
if [ -f ./influxdata-archive.key ]; then
|
if [ -f /home/$username/influxdata-archive.key ]; then
|
||||||
echo "Removing ./influxdata-archive.key..."
|
echo "Removing /home/$username/influxdata-archive.key..."
|
||||||
rm -f ./influxdata-archive.key
|
rm -f /home/$username/influxdata-archive.key
|
||||||
else
|
else
|
||||||
echo "./influxdata-archive.key not found, skipping delete..."
|
echo "/home/$username/influxdata-archive.key not found, skipping delete..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# updoot
|
# updoot
|
||||||
@@ -88,10 +88,8 @@ sudo usermod -aG tty gpsd
|
|||||||
|
|
||||||
# installing ble.sh
|
# installing ble.sh
|
||||||
echo "Installing BLE.sh"
|
echo "Installing BLE.sh"
|
||||||
cd /tmp
|
|
||||||
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git
|
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git
|
||||||
make -C ble.sh install PREFIX=/home/$username/.local
|
make -C /tmp/ble.sh install PREFIX=/home/$username/.local
|
||||||
echo '# ble.sh' >> /home/$username/.bashrc
|
|
||||||
echo -e "\n# ble.sh" >> /home/$username/.bashrc
|
echo -e "\n# ble.sh" >> /home/$username/.bashrc
|
||||||
echo "source -- /home/$username/.local/share/blesh/ble.sh" >> /home/$username/.bashrc
|
echo "source -- /home/$username/.local/share/blesh/ble.sh" >> /home/$username/.bashrc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user