feat: create autonomous Nivora package repository

Maintain a validated cross-distribution package catalog.
Automate upstream updates, isolated builds, diagnostics, and direct publication.
Build the official GitHub Desktop sources for Linux with working OAuth.
This commit is contained in:
Александр
2026-07-25 00:49:32 +10:00
commit f405ae2bcf
168 changed files with 8483 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
set -euo pipefail
unit=/usr/lib/systemd/system/tailscaled.service
# В postremove unit отсутствует только после полного удаления. При обновлении
# новая версия уже вернула его на место, независимо от формата пакета.
if [[ ! -e "$unit" ]] && command -v systemctl >/dev/null 2>&1 && [[ -d /run/systemd/system ]]; then
if systemctl is-active --quiet tailscaled.service; then
systemctl stop tailscaled.service
fi
if systemctl is-enabled --quiet tailscaled.service; then
systemctl disable tailscaled.service
fi
systemctl daemon-reload
fi