summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2007-06-10 19:11:11 -0400
committerRay Strode <rstrode@redhat.com>2007-06-10 19:11:11 -0400
commit0c8e49819cc5d82edf3f5467e2959d410f25087d (patch)
treed06b2938878ec42984f0dc16fd92620740f32ac4 /scripts
parent4ba3a2e7e3f2dfdbb431ff73f843bcaa67c3dde5 (diff)
downloadplymouth-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-xscripts/plymouth-update-initrd4
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