commit
e72bfe4532
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||
|
||||
function error {
|
||||
echo -e "\\e[91m$1\\e[39m"
|
||||
exit 1
|
||||
}
|
||||
|
||||
wget -O tldr https://github.com/dbrgn/tealdeer/releases/download/v1.4.1/tldr-linux-armv7-musleabihf || error "Failed to download tldr!"
|
||||
sudo mv tldr /usr/bin/ || error "Failed to move binary to /usr/bin/"
|
||||
sudo chmod +x /usr/bin/tldr
|
||||
tldr --update
|
Loading…
Reference in New Issue