Browse Source

Fix apt commandline

master
Jim Paris 9 months ago
parent
commit
552e929247
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      Makefile
  2. +1
    -1
      borg-setup.sh

+ 3
- 3
Makefile View File

@@ -1,6 +1,6 @@
.PHONY: all
all: check
@echo "Use 'make dist' to copy to https://psy.jim.sh/borg-setup.sh"
@echo "Use 'make deploy' to copy to https://psy.jim.sh/borg-setup.sh"

.PHONY: check
check:
@@ -12,6 +12,6 @@ test:
BORG_DIR=/tmp/test-borg ./borg-setup.sh
ls -al /tmp/test-borg

.PHONY: dist
dist: check
.PHONY: deploy
deploy:
scp borg-setup.sh psy:/www/psy

+ 1
- 1
borg-setup.sh View File

@@ -67,7 +67,7 @@ install_dependencies()
check borg borgbackup
if [ -n "${NEED:+x}" ]; then
log "Need to install packages: $NEED"
apt install --no-upgrade "$NEED"
apt install --no-upgrade $NEED
fi
}



Loading…
Cancel
Save