forked from mirrored-repos/manjaro-tools
[util-iso-image] fix sed cmd
This commit is contained in:
parent
36b663cac0
commit
5ac3badadf
1 changed files with 2 additions and 1 deletions
|
@ -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 ..."
|
||||
|
|
Loading…
Reference in a new issue