aboutsummaryrefslogtreecommitdiff
path: root/docker/debian-dev/bootstrap/apt-source/11/get-domain.bash
blob: d44ea6550abf3e31ce2d69617d257a119c043412 (plain)
1
2
3
4
5
#! /usr/bin/env bash

set -e

sed "s|.*https\?://\([-_.a-zA-Z0-9]\+\)/.*|\\1|;q" /etc/apt/sources.list