diff options
| author | Sam Scholten | 2025-10-27 07:40:07 +1000 |
|---|---|---|
| committer | Sam Scholten | 2025-10-27 07:40:07 +1000 |
| commit | 77b2576fed10b6963d2ba1796135ab758f6348a6 (patch) | |
| tree | 8f8f34f702916f83b2704a611ac73136eb8c3258 | |
| parent | 13ef7419d5ef87162a731f9a6110dc8d3c2dfbd9 (diff) | |
| download | drestic-77b2576fed10b6963d2ba1796135ab758f6348a6.tar.gz drestic-77b2576fed10b6963d2ba1796135ab758f6348a6.zip | |
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'
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 \ |
