]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
only install the dash symlink to /bin/sh, if dash is installed
authorHarald Hoyer <harald@redhat.com>
Tue, 24 Mar 2009 10:27:35 +0000 (11:27 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 24 Mar 2009 10:27:35 +0000 (11:27 +0100)
modules.d/00dash/install

index 9ee655ad2ac04c9673f0c10ee46073815980fff5..5bf7ae649da53e180289eabba90c1e3a12473747 100755 (executable)
@@ -1,4 +1,3 @@
 #!/bin/bash
 # Prefer dash as /bin/sh if it is available.
-inst /bin/dash
-ln -sf /bin/dash "${initdir}/bin/sh"
\ No newline at end of file
+inst /bin/dash && ln -sf dash "${initdir}/bin/sh"