mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50: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!
|
# uninstall base again!
|
||||||
pacman --noconfirm -Rdd base gettext &>>"${_LOG}"
|
pacman --noconfirm -Rdd base gettext &>>"${_LOG}"
|
||||||
_run_test "licenses"
|
_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
|
[[ -e "${i}" ]] || echo "${i}" | rg -v '/xz/' >>license-error.txt
|
||||||
done
|
done
|
||||||
_result license-error.txt
|
_result license-error.txt
|
||||||
|
|
Loading…
Reference in a new issue