feat: change config from INI to JSON.

This commit is contained in:
slawek committed 2026-10-23 08:04:55 +02:00
1 parent b18947ed9b
commit 656e1733d5
3 files changed
+39 -4

No files matched your search

+8 -1
View File
@@ -1,8 +1,15 @@
#!/bin/sh
set -e
# Apple container CLI on macOS, Docker CE on Linux.
case "$(uname -s)" in
Darwin) CONTAINER_RUNTIME=container ;;
Linux) CONTAINER_RUNTIME=docker ;;
*) printf 'ERROR: unsupported platform %s\n' "$(uname -s)" >&2; exit 1 ;;
esac
changelog_field() {
container run --rm -v "$(pwd):/mnt" vpn-router-builder \
$CONTAINER_RUNTIME run --rm -v "$(pwd):/mnt" vpn-router-builder \
dpkg-parsechangelog --show-field "$1" -l /mnt/debian/changelog
}