Handle locations where we'll be installing files

Handle that files will be in different places once installed
master
Jeremy Katz 2008-12-18 15:55:28 -05:00
parent 641cc35629
commit ab81170e59
2 changed files with 3 additions and 3 deletions

6
dracut
View File

@ -7,10 +7,10 @@
# Copyright 2008, Red Hat, Inc. Jeremy Katz <katzj@redhat.com> # Copyright 2008, Red Hat, Inc. Jeremy Katz <katzj@redhat.com>
# GPLv2 header here # GPLv2 header here


if [ -f ./initrd-functions ]; then if [ -f ./dracut-functions ]; then
source ./initrd-functions source ./dracut-functions
else else
source /usr/libexec/initrd-functions source /usr/libexec/dracut/functions
fi fi


[ -f /etc/dracut.conf ] && . /etc/dracut.conf [ -f /etc/dracut.conf ] && . /etc/dracut.conf