Remove double square brackets

This commit is contained in:
jim3692
2023-02-01 00:47:54 +02:00
parent 2cdc50d20d
commit 1229170ad8

2
nvm.sh
View File

@@ -2004,7 +2004,7 @@ nvm_nixos_postinstall() {
mv "${VERSION_PATH}/bin/node" "${VERSION_PATH}/bin/node.bin" || return 1
if [[ ! -f "${DE_GENERATE_TEMPLATE_PATH}" ]]; then
if [ ! -f "${DE_GENERATE_TEMPLATE_PATH}" ]; then
# Credits: https://github.com/lexleogryfon/de-generate
echo '{ pkgs ? import <nixpkgs> {} }: #
(pkgs.buildFHSUserEnv {