cleanup: shfmt, shellcheck, and whitespace
[webi-installers/.git] / fd / install.sh
index 92621ef41b2e969c3ddf2bdf213a009a295bd6b2..50af4761cb6edbacc3c79711db8960f6ab4cc49e 100644 (file)
     WEBI_SINGLE=true
 
     pkg_get_current_version() {
-      # 'fd --version' has output in this format:
-      #       fd 8.1.1
-      # This trims it down to just the version number:
-      #       8.1.1
-      echo $(fd --version 2>/dev/null | head -n 1 | cut -d' ' -f 2)
+        # 'fd --version' has output in this format:
+        #       fd 8.1.1
+        # This trims it down to just the version number:
+        #       8.1.1
+        echo $(fd --version 2> /dev/null | head -n 1 | cut -d' ' -f 2)
     }
 
     pkg_install() {