summaryrefslogtreecommitdiff
path: root/modules.d/00dash
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-03-24 11:27:35 +0100
committerHarald Hoyer <harald@redhat.com>2009-03-24 11:27:35 +0100
commit48677b2a8fad445c307535ae3843fb6e7904cbcf (patch)
tree2c889a2b569abce0c791c909814b8ebb4f24b46d /modules.d/00dash
parent47f151f762511b45dd902a240c3106bbd1226060 (diff)
downloaddracut-48677b2a8fad445c307535ae3843fb6e7904cbcf.tar.gz
dracut-48677b2a8fad445c307535ae3843fb6e7904cbcf.tar.bz2
dracut-48677b2a8fad445c307535ae3843fb6e7904cbcf.zip
only install the dash symlink to /bin/sh, if dash is installed
Diffstat (limited to 'modules.d/00dash')
-rwxr-xr-xmodules.d/00dash/install3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules.d/00dash/install b/modules.d/00dash/install
index 9ee655ad..5bf7ae64 100755
--- a/modules.d/00dash/install
+++ b/modules.d/00dash/install
@@ -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"