]> git.pld-linux.org Git - packages/dracut.git/blame - bash-sh.patch
Only install plymouth logo file if it exists
[packages/dracut.git] / bash-sh.patch
CommitLineData
d73ed32f
JR
1--- /dev/null 2012-03-21 19:30:19.123295831 +0100
2+++ dracut-017/modules.d/01bash/module-setup.sh 2012-03-21 23:46:14.717134386 +0100
3@@ -0,0 +1,18 @@
4+#!/bin/bash
5+# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
6+# ex: ts=8 sw=4 sts=4 et filetype=sh
7+
8+check() {
9+ return 0
10+}
11+
12+depends() {
13+ return 0
14+}
15+
16+install() {
17+ # If another shell is already installed, do not use bash
18+ [[ -x $initdir/bin/sh ]] && return
19+
20+ inst /bin/bash && ln -sf bash "${initdir}/bin/sh"
21+}
This page took 0.033707 seconds and 4 git commands to generate.