NobGit
public anord read

Ledger

Why work hard when you can work easier?

Languages

Repository composition by tracked source files.

TypeScript
TypeScript 86% CSS 10% SQL 3% Shell 1% HTML 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/anord/ledger.git
ssh://[email protected]:2222/orgs/anord/ledger.git
install-vm-updater.sh
#!/usr/bin/env bash
set -euo pipefail

APP_DIR="${APP_DIR:-/opt/ledger}"
TARGET_BIN="${TARGET_BIN:-/usr/local/bin/ledger-update}"

if [ ! -f "$APP_DIR/infra/scripts/vm-update.sh" ]; then
  printf 'Expected updater at %s/infra/scripts/vm-update.sh\n' "$APP_DIR" >&2
  exit 1
fi

install -m 0755 "$APP_DIR/infra/scripts/vm-update.sh" "$TARGET_BIN"
printf 'Installed Ledger updater to %s\n' "$TARGET_BIN"
printf 'You can now run: %s\n' "$TARGET_BIN"