diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-03-07 00:53:25 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-03-07 00:53:25 +0100 |
commit | 08eb9168f73c76680b6fc257bc904bd24e688c5f (patch) | |
tree | 3869cfe4475002678469b4475f995d4ad1c1d732 | |
parent | 6a23c88f9644758efc88574a29b5a51b87bb0e79 (diff) | |
download | kanotix-08eb9168f73c76680b6fc257bc904bd24e688c5f.zip kanotix-08eb9168f73c76680b6fc257bc904bd24e688c5f.tar.gz |
don't fail if some gfxoverlays can't be built
-rwxr-xr-x | config/binary_local-hooks/gfxoverlays | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/binary_local-hooks/gfxoverlays b/config/binary_local-hooks/gfxoverlays index 4341113..bc86da5 100755 --- a/config/binary_local-hooks/gfxoverlays +++ b/config/binary_local-hooks/gfxoverlays @@ -14,7 +14,7 @@ DIRS+="${CACHE}overlay$bit-$drv-$ver " done < <(cut -d'#' -f1 config/gfxoverlays/versions | grep .) if [ ! -e "$CACHE/overlay.$bit.squashfs" -o "$UPDATE" ]; then rm -f "$CACHE/overlay.$bit.squashfs" - mksquashfs $DIRS "$CACHE/overlay.$bit.squashfs" + mksquashfs $(ls -d $DIRS) "$CACHE/overlay.$bit.squashfs" || exit 0 fi mkdir -p binary/gfxoverlay cp "$CACHE/overlay.$bit.squashfs" binary/gfxoverlay/ |