From 0c8e49819cc5d82edf3f5467e2959d410f25087d Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Sun, 10 Jun 2007 19:11:11 -0400 Subject: rather than look at PLYMOUTH_DISABLE_INITRD, just look for DESTDIR --- scripts/plymouth-update-initrd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/plymouth-update-initrd b/scripts/plymouth-update-initrd index b897560..8db9d3c 100755 --- a/scripts/plymouth-update-initrd +++ b/scripts/plymouth-update-initrd @@ -1,8 +1,6 @@ #!/bin/bash -if [ "x$PLYMOUTH_DISABLE_INITRD" = "x1" ]; then - exit 0 -fi +[ -z "$DESTDIR" ] || exit 0 set -e -- cgit