mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 11:30:37 +02:00
reuse sleep, it does not status 1 on exit than read -r -t
This commit is contained in:
parent
d87274ed5e
commit
e54953c961
1 changed files with 2 additions and 2 deletions
|
@ -91,14 +91,14 @@ for i in $(pacman -Ql $(pacman -Q | sd ' .*' '') | rg -o '/usr/share/licenses/.*
|
|||
done
|
||||
_result license-error.txt
|
||||
echo -e "Starting none tracked files in \e[1m10\e[m seconds... \e[1;92mCTRL-C\e[m to stop now."
|
||||
read -r -t 10
|
||||
sleep 10
|
||||
_run_test "none tracked files in /usr/lib... this takes a while"
|
||||
for i in $(fd -u -E '/modules/' -E '/udev/' -E 'gconv-modules.cache' -E '/locale-archive' . /usr/lib); do
|
||||
pacman -Qo ${i} &>${_NO_LOG} || echo ${i} >> pacman-error.log
|
||||
done
|
||||
_result pacman-error.log
|
||||
echo -e "Starting pacman database check in \e[1m10\e[m seconds... \e[1;92mCTRL-C\e[m to stop now."
|
||||
read -r -t 10
|
||||
sleep 10
|
||||
_run_test "pacman database... this takes a while"
|
||||
archboot-not-installed.sh &>>"${_LOG}"
|
||||
_result not-installed.txt
|
||||
|
|
Loading…
Reference in a new issue