]> TLD Linux GIT Repositories - packages/dracut.git/blob - plymouth-libexec.patch
24c4bf84202bf27a267c68186131370c03443a59
[packages/dracut.git] / plymouth-libexec.patch
1 diff -urN dracut-040.orig/modules.d/50plymouth/module-setup.sh dracut-040/modules.d/50plymouth/module-setup.sh
2 --- dracut-040.orig/modules.d/50plymouth/module-setup.sh        2014-10-24 17:41:12.966283303 +0200
3 +++ dracut-040/modules.d/50plymouth/module-setup.sh     2014-10-24 17:42:58.112954942 +0200
4 @@ -13,11 +13,11 @@
5  
6  # called by dracut
7  install() {
8 -    PKGLIBDIR="/usr/lib/plymouth"
9 +    PKGLIBDIR="/usr/@lib@/plymouth"
10      if type -P dpkg-architecture &>/dev/null; then
11          PKGLIBDIR="/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/plymouth"
12      fi
13 -    [ -x /usr/libexec/plymouth/plymouth-populate-initrd ] && PKGLIBDIR="/usr/libexec/plymouth"
14 +    [ -x /usr/@lib@/plymouth/plymouth-populate-initrd ] && PKGLIBDIR="/usr/@lib@/plymouth"
15  
16      if grep -q nash ${PKGLIBDIR}/plymouth-populate-initrd \
17          || [ ! -x ${PKGLIBDIR}/plymouth-populate-initrd ]; then