Rename packages to pacman
This commit is contained in:
parent
771f611e3a
commit
44346ef468
6
Makefile
6
Makefile
|
@ -21,7 +21,7 @@ POWERLEVEL_DIR := $(ZSH_CUSTOM_DIR)/themes/powerlevel10k
|
|||
TPM_REPO := https://github.com/tmux-plugins/tpm
|
||||
TPM_DIR := $(HOME)/.tmux/plugins/tpm
|
||||
|
||||
.PHONY: all clean link unlink install uninstall packages
|
||||
.PHONY: all clean link unlink install uninstall pacman
|
||||
|
||||
all: link install
|
||||
|
||||
|
@ -35,7 +35,7 @@ unlink:
|
|||
for link in $(SSH_TARGETS); do rm "$$link"; done
|
||||
rmdir $(HOME)/.ssh/sockets
|
||||
|
||||
install: packages $(ZSH_DIR) $(POWERLEVEL_DIR) $(ZSH_TARGETS) $(PACKER_DIR) $(TPM_DIR)
|
||||
install: $(ZSH_DIR) $(POWERLEVEL_DIR) $(ZSH_TARGETS) $(PACKER_DIR) $(TPM_DIR)
|
||||
python3 -m pip list | grep -E "libtmux.*0\.16\.1" > /dev/null ||\
|
||||
python3 -m pip install --user libtmux==0.16.1
|
||||
|
||||
|
@ -43,7 +43,7 @@ uninstall:
|
|||
rm -rf $(ZSH_DIR)
|
||||
rm -rf $(PACKER_DIR)
|
||||
|
||||
packages:
|
||||
pacman:
|
||||
sort -h pkglist.txt -o pkglist.txt
|
||||
pacman -T - < pkglist.txt ||\
|
||||
sudo pacman --needed -S - < pkglist.txt
|
||||
|
|
Loading…
Reference in a new issue