diff options
author | Ray Strode <rstrode@redhat.com> | 2007-06-10 19:11:11 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2007-06-10 19:11:11 -0400 |
commit | 0c8e49819cc5d82edf3f5467e2959d410f25087d (patch) | |
tree | d06b2938878ec42984f0dc16fd92620740f32ac4 /scripts | |
parent | 4ba3a2e7e3f2dfdbb431ff73f843bcaa67c3dde5 (diff) | |
download | plymouth-0c8e49819cc5d82edf3f5467e2959d410f25087d.tar.gz plymouth-0c8e49819cc5d82edf3f5467e2959d410f25087d.tar.xz plymouth-0c8e49819cc5d82edf3f5467e2959d410f25087d.zip |
rather than look at PLYMOUTH_DISABLE_INITRD, just look for DESTDIR
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/plymouth-update-initrd | 4 |
1 files changed, 1 insertions, 3 deletions
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 |