mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
replace cut with sd
This commit is contained in:
parent
ff8884143c
commit
f0aa562c0c
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ _result fw-error.txt
|
|||
# uninstall base again!
|
||||
pacman --noconfirm -Rdd base gettext &>>"${_LOG}"
|
||||
_run_test "licenses"
|
||||
for i in $(pacman -Ql $(pacman -Q | cut -d ' ' -f 1) | rg -o '/usr/share/licenses/.*'); do
|
||||
for i in $(pacman -Ql $(pacman -Q | sd ' .*' '') | rg -o '/usr/share/licenses/.*'); do
|
||||
[[ -e "${i}" ]] || echo "${i}" | rg -v '/xz/' >>license-error.txt
|
||||
done
|
||||
_result license-error.txt
|
||||
|
|
Loading…
Reference in a new issue