Created justfile

In the name of inclusivity
This commit is contained in:
René Fuhry 2023-03-29 15:27:54 +02:00 committed by GitHub
parent d916c2d0e6
commit 994130d7df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
justfile Normal file
View File

@ -0,0 +1,12 @@
VER := "v1.7"
install:
@echo "==> Installing update {{VER}} into /usr/local/bin"
@sudo install -Dm755 update /usr/local/bin/update
@cp update.conf ${HOME}/.config/
@echo "==> Finished."
uninstall:
@echo "==> Uninstalling update {{VER}} from /usr/local/bin"
@sudo rm /usr/local/bin/update ${HOME}/.config/update.conf
@echo "==> Finished."