Skip to content

Commit

Permalink
Uninstall thunderbird
Browse files Browse the repository at this point in the history
This commit adds new make target that cleans up (uninstalls) unused
applications which were pre-installed by the distribution.

Specifically this commit uninstalls `thunderbird` mail client. Note that
after uninstall one can also `rm -rf ~/.thunderbird`.
  • Loading branch information
matyama committed Mar 29, 2024
1 parent 5378bc1 commit fe59105
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1410,6 +1410,17 @@ newsboat: $(XDG_CONFIG_HOME)/newsboat $(XDG_CACHE_HOME)/newsboat/articles $(XDG_
@ln -svft $< $(CFG_DIR)/.config/$@/*
@echo ">>> Installed $$($@ -v | head -1)"

# Remove unused applications from the distribution
.PHONY: cleanup
cleanup: thunderbird
sudo apt autoremove -y
sudo apt autoclean

.PHONY: thunderbird
thunderbird:
@echo ">>> Uninstalling $@"
sudo apt purge -y $@

.PHONY: fix-ssh-perms
fix-ssh-perms: SSH_DIR := $(HOME)/.ssh
fix-ssh-perms:
Expand Down

0 comments on commit fe59105

Please sign in to comment.