-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathverify.sh
More file actions
executable file
·28 lines (23 loc) · 1.06 KB
/
Copy pathverify.sh
File metadata and controls
executable file
·28 lines (23 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env bash
# Unified read-only install verification (docs/UNIFICATION.md Phase 3, issue #36).
# Usage: bash verify.sh [--optional] [--work] [--personal] [--all]
# [--platform <macos|ubuntu|arch|server>]
# --optional also check low-priority optional packages
# --work also check work-only packages
# --personal also check personal-only packages
# --all check everything (implies --optional --work --personal
# + priority "none")
# --platform <p> force platform; default: auto-detect (uname /
# /etc/os-release). --distro is accepted as an alias.
#
# Mirrors setup.sh's selection logic, so the packages checked here match what
# `setup.sh` with the same flags would install. Read-only — installs nothing.
set -uo pipefail
SETUP_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# shellcheck source=lib/core.sh
source "$SETUP_ROOT/lib/core.sh"
# shellcheck source=lib/verify.sh
source "$SETUP_ROOT/lib/verify.sh"
verify_parse_args "$@"
core_detect_platform
verify_main