mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 15:37:03 +00:00
Includes all package APIs with public dashboard endpoints: - secubox-system: System Hub with /info, /resources, /security - secubox-crowdsec: CrowdSec dashboard with /status, /hub, /metrics, actions - secubox-wireguard: WireGuard VPN with /interfaces, /peers, start/stop - secubox-netdata: Monitoring with /stats, /processes, /alerts Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
425 B
Bash
Executable File
16 lines
425 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Ajouter un .deb au repo local
|
|
set -euo pipefail
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
REPO_DIR="$(dirname "$SCRIPT_DIR")"
|
|
LOCAL_REPO="${REPO_DIR}/cache/repo"
|
|
|
|
SUITE="${1:-bookworm}"
|
|
shift || true
|
|
|
|
for DEB in "$@"; do
|
|
[[ -f "$DEB" ]] || { echo "SKIP: $DEB (not found)"; continue; }
|
|
reprepro -b "${LOCAL_REPO}" includedeb "${SUITE}" "$DEB"
|
|
echo "OK: Added $(basename "$DEB") to ${SUITE}"
|
|
done
|