forked from josch/mmdebstrap
hooks/file-mirror-automount/setup00.sh: instead of grepping for Repo-URI, only output REPO_URI
This commit is contained in:
parent
153d1fa969
commit
51ad1426c3
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue