[util-iso-image] fix sed cmd

This commit is contained in:
Philip Müller 2019-12-29 09:30:18 +01:00
parent 36b663cac0
commit 5ac3badadf

View file

@ -352,7 +352,8 @@ copy_from_cache(){
-B "${build_mirror}/${target_branch}" \
"$1" \
pacman -v -Sp $2 --noconfirm > "$list"
sed -ni '/.pkg.tar.xz/p'; '/.pkg.tar.zst/p' "$list"
sed -ni '/.pkg.tar.xz/p' "$list"
sed -ni '/.pkg.tar.zst/p' "$list"
sed -i "s/.*\///" "$list"
msg2 "Copying mhwd package cache ..."