update/justfile
AustrianToast ea112d4ceb
QOL Improvement (#22)
Added some sanity checks inside the script. Rewrote some parts in the README.md. Completely removed the makefile, because I don't fell like supporting it anymore.

Co-authored-by: ProfessionalUwU <andre.fuhry@hopeless-cloud.xyz>
Reviewed-on: #22
Reviewed-by: ProfessionalUwU <andre.fuhry@hopeless-cloud.xyz>
Co-authored-by: AustrianToast <austriantoast@hopeless-cloud.xyz>
Co-committed-by: AustrianToast <austriantoast@hopeless-cloud.xyz>
2023-12-01 17:13:10 +01:00

11 lines
356 B
Makefile

install:
@echo "==> Installing update into /usr/local/bin"
@sudo install -Dm755 update /usr/local/bin/update
@[[ -f ${HOME}/.config/update.conf ]] || cp update.conf ${HOME}/.config/
@echo "==> Finished."
uninstall:
@echo "==> Uninstalling update from /usr/local/bin"
@sudo rm /usr/local/bin/update ${HOME}/.config/update.conf
@echo "==> Finished."