浏览代码

revert g0592364

Jin-Asanami 2 年之前
父节点
当前提交
30bc5927af
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      CHANGELOG
  2. 1 1
      neofetch

+ 1 - 1
CHANGELOG

@@ -1,5 +1,5 @@
 1.1.1
 1.1.1
-fix line 1658 (own)
+
 
 
 1.1
 1.1
 Add VanillaOS (dylanaraps#2222)
 Add VanillaOS (dylanaraps#2222)

+ 1 - 1
neofetch

@@ -1655,7 +1655,7 @@ esac
 
 
 get_kernel() {
 get_kernel() {
     # Since these OS are integrated systems, it's better to skip this function altogether
     # Since these OS are integrated systems, it's better to skip this function altogether
-    [[ $os == (AIX|IRIX) ]] && return
+    [[ $os =~ (AIX|IRIX) ]] && return
 
 
     # Haiku uses 'uname -v' and not - 'uname -r'.
     # Haiku uses 'uname -v' and not - 'uname -r'.
     [[ $os == Haiku ]] && {
     [[ $os == Haiku ]] && {