#!/usr/bin/env bash

# omarchy:summary=Install the Debian packaging tools: debhelper, git-buildpackage, pbuilder, lintian and live-build
# omarchy:requires-sudo=true

# Based: Debian-native tooling, Linux only.

set -eo pipefail

source omarchy-require-linux

echo "Installing the Debian packaging tools..."
echo "pbuilder pbuilder/mirrorsite string http://deb.debian.org/debian" | sudo debconf-set-selections
omarchy-pkg-add apt-file cowbuilder debconf-utils debhelper devscripts dh-make fakeroot git-buildpackage lintian live-build osc pbuilder
sudo apt-file update

omarchy-code-extensions dawidd6.debian-vscode
