From 77b2576fed10b6963d2ba1796135ab758f6348a6 Mon Sep 17 00:00:00 2001 From: Sam Scholten Date: Mon, 27 Oct 2025 07:40:07 +1000 Subject: Add missing 'upgrade' target to Makefile - Add upgrade target that pulls latest changes before running update - This matches the help documentation and user expectations - Fixes issue where make upgrade reported 'Nothing to be done' --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f8925ea..cd050ff 100644 --- a/Makefile +++ b/Makefile @@ -361,6 +361,13 @@ 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 \ -- cgit v1.2.3