Not work for me
This commit is contained in:
parent
1b42e8a6de
commit
47f9cf5970
4
quickget
4
quickget
|
|
@ -45,7 +45,7 @@ function error_specify_os() {
|
|||
}
|
||||
|
||||
function os_supported() {
|
||||
if [[ ! " $(os_support) " =~ \ "${OS}"\ ]]; then
|
||||
if [[ ! "$(os_support)" =~ ${OS} ]]; then
|
||||
echo -e "ERROR! ${OS} is not a supported OS.\n"
|
||||
os_support | fmt -w 80
|
||||
exit 1
|
||||
|
|
@ -59,7 +59,7 @@ function error_specify_release() {
|
|||
}
|
||||
|
||||
function error_not_supported_release() {
|
||||
if [[ ! " ${RELEASES[*]} " =~ \ "${RELEASE}"\ ]]; then
|
||||
if [[ ! "${RELEASES[*]}" =~ ${RELEASE} ]]; then
|
||||
echo -e "ERROR! ${DISPLAY_NAME} ${RELEASE} is not a supported release.\n"
|
||||
echo -n ' - Supported releases: '
|
||||
releases_
|
||||
|
|
|
|||
Loading…
Reference in New Issue