瀏覽代碼

Attempt to fix the shellcheck error

walking-octopus 3 年之前
父節點
當前提交
d2d1c0aab4
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      neofetch

+ 2 - 2
neofetch

@@ -1125,11 +1125,11 @@ get_distro() {
             distro=${distro/NAME=}
 
             if [[ -f /usr/bin/system-image-cli ]]; then
-                export ut_ota = $(system-image-cli -i | awk '/version tag:/ { print $3 }');
+                export ut_ota=$(system-image-cli -i | awk '/version tag:/ { print $3 }');
                 distro="Ubuntu Touch $ut_ota";
 
                 # There's a weird UT bug where the HOSTNAME is set to android.
-                export HOSTNAME=$(hostname);
+                HOSTNAME=$(hostname);
             fi
 
             # Get Ubuntu flavor.