created a makefile && removed now useless code
Makefiles make install and unistalling way easier and mostly automated
This commit is contained in:
11
makefile
Normal file
11
makefile
Normal file
@ -0,0 +1,11 @@
|
||||
install:
|
||||
@echo "==> Installing update v0.4..."
|
||||
@sudo install -Dm755 update /usr/local/bin/update
|
||||
@echo $${HOME}
|
||||
@cp update.conf $${HOME}/.config/
|
||||
@echo "==> Finished."
|
||||
|
||||
uninstall:
|
||||
@echo "==> Uninstalling update v0.4..."
|
||||
@sudo rm /usr/local/bin/update $${HOME}/.config/update.conf
|
||||
@echo "==> Finished."
|
Reference in New Issue
Block a user