From 9af5acc8f93aa53cc7fa15a31a0a8a6e4e713c69 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sat, 28 Apr 2007 17:43:28 +0000 Subject: Cleanup for SuSE stage3, placeholders for 10.3 support added ... (to be checked if beta is available) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@945 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/etc/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'initramfs/initrd-stuff') diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions index e3b848b1..936a073a 100644 --- a/initramfs/initrd-stuff/etc/functions +++ b/initramfs/initrd-stuff/etc/functions @@ -364,9 +364,9 @@ case "$tftp" in fi ;; esac -# unpack part (only gzip is supported, bzip binary not present in -# initramfs) +# unpack part if [ -s $dst ] ; then + # fixme: handle different types of packaging (gzip/bzip2)?? tar -xpzf $dst 2>/dev/null [ "$DEBUGLEVEL" -le 2 -o "$DEBUGLEVEL" -eq 8 ] && rm $dst return 0 -- cgit v1.2.3-55-g7522