mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 11:30:55 +00:00
Fix issue with GitHub Action
This commit is contained in:
parent
26f4a994f9
commit
d84346e770
1 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
||||||
#!/usr/bin/env -S bash -e
|
#!/usr/bin/env -S bash -e
|
||||||
|
|
||||||
|
# Fixing annoying issue that breaks GitHub Actions
|
||||||
|
# shellcheck disable=SC2001
|
||||||
|
|
||||||
# Cleaning the TTY.
|
# Cleaning the TTY.
|
||||||
clear
|
clear
|
||||||
|
|
||||||
|
|
@ -214,7 +217,7 @@ locale_selector () {
|
||||||
'/') sed -E '/^# +|^#$/d;s/^#| *$//g;s/ .*/ (Charset:&)/' /etc/locale.gen | less -M
|
'/') sed -E '/^# +|^#$/d;s/^#| *$//g;s/ .*/ (Charset:&)/' /etc/locale.gen | less -M
|
||||||
clear
|
clear
|
||||||
return 1;;
|
return 1;;
|
||||||
*) if ! grep -q "^#\?$(sed 's/[].*[]/\\&/g' <<< $locale) " /etc/locale.gen; then
|
*) if ! grep -q "^#\?$(sed 's/[].*[]/\\&/g' <<< "$locale") " /etc/locale.gen; then
|
||||||
error_print "The specified locale doesn't exist or isn't supported."
|
error_print "The specified locale doesn't exist or isn't supported."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue