From 51ad1426c3c8ecca5edd93d87b10be99b494edc0 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Sat, 4 Jun 2022 08:49:44 +0200 Subject: [PATCH] hooks/file-mirror-automount/setup00.sh: instead of grepping for Repo-URI, only output REPO_URI --- hooks/file-mirror-automount/setup00.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/file-mirror-automount/setup00.sh b/hooks/file-mirror-automount/setup00.sh index 6cee5d1..06fcbad 100755 --- a/hooks/file-mirror-automount/setup00.sh +++ b/hooks/file-mirror-automount/setup00.sh @@ -8,8 +8,8 @@ fi rootdir="$1" -env APT_CONFIG=$MMDEBSTRAP_APT_CONFIG apt-get indextargets --no-release-info \ - | sed -ne 's/^Repo-URI: file:\/\+//p' \ +env APT_CONFIG=$MMDEBSTRAP_APT_CONFIG apt-get indextargets --no-release-info --format '$(REPO_URI)' \ + | sed -ne 's/^file:\/\+//p' \ | sort -u \ | while read path; do mkdir -p "$rootdir/run/mmdebstrap"