File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ RESET := $(shell tput -Txterm sgr0)
6565
6666# targets
6767.PHONY : all
68- all : ansible ansible-galaxy sanity-check git help homebrew just install mpr update xcode
68+ all : ansible ansible-galaxy sanity-check git help homebrew just install mpr tldr update xcode
6969
7070# * cf. `distrobox create --name i-use-arch-btw --image archlinux:latest && distrobox enter i-use-arch-btw`
7171# * || `distrobox create --name debby --image debian:stable && distrobox enter debby`
@@ -209,7 +209,21 @@ just: mpr update## install justfile
209209 echo " just already installed." ; \
210210 fi
211211
212- install : sanity-check update xcode homebrew git python pip ansible ansible-galaxy mpr just # # install all dependencies
212+ tldr : # # install tldr
213+ @echo " Installing Pip..."
214+ if [ " ${UNAME} " = " Darwin" ] && [ -z " ${PYTHON} )" ]; then \
215+ brew install tldr; \
216+ elif [ " ${ID} " = " ubuntu" ] && [ -z " ${PIP} " ]; then \
217+ sudo apt install -y tldr-py; \
218+ elif [ " ${ID} " = " fedora" ] && [ -z " ${PIP} " ]; then \
219+ sudo dnf install -y tldr; \
220+ elif [ " ${ID} " = " arch" ] && [ -z " ${PIP} " ]; then \
221+ yes | sudo pacman -S tldr; \
222+ else \
223+ echo " tldr already installed." ; \
224+ fi
225+
226+ install : sanity-check update xcode homebrew git python pip ansible ansible-galaxy mpr just tldr # # install all dependencies
213227
214228help : # # show this help
215229 @echo ' '
You can’t perform that action at this time.
0 commit comments