hooks/file-mirror-automount/setup00.sh: instead of grepping for Repo-URI, only output REPO_URI

pull/24/head
parent 153d1fa969
commit 51ad1426c3
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -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"

Loading…
Cancel
Save