mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
fix: Improve seq usage
This commit is contained in:
parent
a038af89b9
commit
6e6704755d
1 changed files with 2 additions and 2 deletions
|
|
@ -406,7 +406,7 @@ getCatalog() {
|
||||||
if [[ "${id,,}" == "win11"* && "${PLATFORM,,}" != "x64" && "${ARCH,,}" == "arm64" ]]; then
|
if [[ "${id,,}" == "win11"* && "${PLATFORM,,}" != "x64" && "${ARCH,,}" == "arm64" ]]; then
|
||||||
# ARMv8.0 cannot run Windows 11 builds higher than 22631
|
# ARMv8.0 cannot run Windows 11 builds higher than 22631
|
||||||
if ! grep -qw 'Features.*atomics' /proc/cpuinfo; then
|
if ! grep -qw 'Features.*atomics' /proc/cpuinfo; then
|
||||||
echo $(getBuild "$1" "$2" "22631.2861") && return 0
|
echo "$(getBuild "$1" "$2" "22631.2861")" && return 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -679,7 +679,7 @@ delay() {
|
||||||
|
|
||||||
info "${msg/X/$delay}"
|
info "${msg/X/$delay}"
|
||||||
|
|
||||||
for i in $(seq $delay -1 1); do
|
for i in $(seq "$delay" -1 1); do
|
||||||
html "${msg/X/$i}"
|
html "${msg/X/$i}"
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue