diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2010-08-14 14:23:26 -0500 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2010-08-23 11:51:35 +0200 |
commit | 1de37e808c7abe0997bde385cbec5284e580fd9d (patch) | |
tree | 3c83ab259851615efeff329eccdf1fe8d235370f | |
parent | b2ff4317f166bd2ba99371eec5d442ba3ede958a (diff) | |
download | dracut-1de37e808c7abe0997bde385cbec5284e580fd9d.tar.gz dracut-1de37e808c7abe0997bde385cbec5284e580fd9d.tar.bz2 dracut-1de37e808c7abe0997bde385cbec5284e580fd9d.zip |
Trivial bashification of 00dash/install
-rwxr-xr-x | modules.d/00dash/install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/00dash/install b/modules.d/00dash/install index 0b344cad..a197573c 100755 --- a/modules.d/00dash/install +++ b/modules.d/00dash/install @@ -1,6 +1,6 @@ #!/bin/bash # If another shell is already installed, do not use dash -[ -x "${initdir}/bin/sh" ] && return +[[ -x $initdir/bin/sh ]] && return # Prefer dash as /bin/sh if it is available. inst /bin/dash && ln -sf dash "${initdir}/bin/sh" |