aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Scholten2025-10-27 07:44:21 +1000
committerSam Scholten2025-10-27 07:44:21 +1000
commit055850289f79fb2cd4946ffd44b3586371edd35e (patch)
tree741df544d0d5cd2107583509fe31c36c78aea8f8
parent77b2576fed10b6963d2ba1796135ab758f6348a6 (diff)
downloaddrestic-055850289f79fb2cd4946ffd44b3586371edd35e.tar.gz
drestic-055850289f79fb2cd4946ffd44b3586371edd35e.zip
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
-rw-r--r--Makefile10
1 files changed, 1 insertions, 9 deletions
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"