diff options
author | Harald Hoyer <harald@redhat.com> | 2013-08-05 12:10:12 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-08-07 10:33:15 +0200 |
commit | af11946054193dbb13eec70cb62e6b0963c5fb41 (patch) | |
tree | 117a1007c98208a578bb104cf494829e2167d3c5 /dracut-functions.sh | |
parent | 55a0b3abc7b8da4f3714cfcb5d34f7aa4e78e5bc (diff) | |
download | dracut-af11946054193dbb13eec70cb62e6b0963c5fb41.tar.gz dracut-af11946054193dbb13eec70cb62e6b0963c5fb41.tar.bz2 dracut-af11946054193dbb13eec70cb62e6b0963c5fb41.zip |
dracut-functions.sh: inst_multiple == dracut_install
Diffstat (limited to 'dracut-functions.sh')
-rwxr-xr-x | dracut-functions.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/dracut-functions.sh b/dracut-functions.sh index c0a12cd0..fbe06338 100755 --- a/dracut-functions.sh +++ b/dracut-functions.sh @@ -622,7 +622,7 @@ inst_symlink() { (($? != 0)) && derror $DRACUT_INSTALL ${initdir+-D "$initdir"} ${DRACUT_RESOLVE_DEPS+-l} ${DRACUT_FIPS_MODE+-H} "$@" || : } -dracut_install() { +inst_multiple() { local ret #dinfo "initdir=$initdir $DRACUT_INSTALL -l $@" $DRACUT_INSTALL ${initdir+-D "$initdir"} -a ${DRACUT_RESOLVE_DEPS+-l} ${DRACUT_FIPS_MODE+-H} "$@" @@ -631,6 +631,10 @@ dracut_install() { return $ret } +dracut_install() { + inst_multiple "$@" +} + inst_library() { [[ -e ${initdir}/"${2:-$1}" ]] && return 0 # already there [[ -e $1 ]] || return 1 # no source @@ -689,7 +693,7 @@ inst_rule_programs() { } fi - [[ $_bin ]] && dracut_install "$_bin" + [[ $_bin ]] && inst_binary "$_bin" done fi if grep -qE 'RUN[+=]=?"[^ "]+' "$1"; then @@ -704,7 +708,7 @@ inst_rule_programs() { } fi - [[ $_bin ]] && dracut_install "$_bin" + [[ $_bin ]] && inst_binary "$_bin" done fi if grep -qE 'IMPORT\{program\}==?"[^ "]+' "$1"; then @@ -878,7 +882,7 @@ inst_libdir_file() { done done fi - [[ $_files ]] && dracut_install $_files + [[ $_files ]] && inst_multiple $_files } |