From 055850289f79fb2cd4946ffd44b3586371edd35e Mon Sep 17 00:00:00 2001 From: Sam Scholten Date: Mon, 27 Oct 2025 07:44:21 +1000 Subject: Simplify Makefile: remove redundant 'upgrade' target - Remove confusing 'upgrade' target that just did git pull + update - Users can run 'git pull && make update' explicitly - Follows Unix philosophy of explicit, single-purpose commands - Update help text to reflect the change --- Makefile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cd050ff..795daed 100644 --- a/Makefile +++ b/Makefile @@ -361,13 +361,6 @@ update: exit 1; \ fi -upgrade: - @echo "=== Full DRestic Upgrade (including timers) ===" - @echo "Pulling latest changes from git..." - @git pull || { echo "Error: Failed to pull from git. Make sure you have internet access."; exit 1; } - @echo "Running update..." - @$(MAKE) update - update-gotify: @echo "=== Update Gotify Configuration ===" @if [ -f ~/.config/restic/env ]; then \ @@ -501,8 +494,7 @@ help: @echo " uninstall-user : Uninstall user scope DRestic" @echo " uninstall-system : Uninstall system scope DRestic" @echo " recover : Show recovery instructions" - @echo " update : Update DRestic scripts and services (auto-detects scope)" - @echo " upgrade : Full upgrade including timers (run 'git pull' first)" + @echo " update : Update DRestic scripts and services (auto-detects scope) - run 'git pull' first for latest version" @echo " update-gotify : Update Gotify notification settings (auto-detects scope)" @echo " update-gotify-user : Update Gotify settings for user scope" @echo " update-gotify-system : Update Gotify settings for system scope" -- cgit v1.2.3