aboutsummaryrefslogblamecommitdiffstats
path: root/sudo/Makefile
blob: 44631f256cb6ef7cddaecbbde0b093134ecb1624 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                            
                                                                                        

                                                                             
                                  
                                                
.POSIX:

install:
	mkdir -p -- ~/.config/bash/aliases.d
	test ! -e ~/.config/bash/aliases.d/sudo || test -L ~/.config/bash/aliases.d/sudo
	ln -sf -- ~/.dotfiles/sudo/bash-aliases ~/.config/bash/aliases.d/sudo

uninstall:
	+! ../check-installed sudo
	-unlink -- ~/.config/bash/aliases.d/sudo
	-rmdir -- ~/.config/bash/aliases.d