From 6e8e2eba90438d931d118938fa2e29212bafaea7 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 8 Dec 2018 15:24:17 +0000 Subject: [PATCH] Support SQUASHFS_LSYMLINK_TYPE Port over from https://github.com/AppImage/libappimage/commit/1898d4101cd32c0fc80f0179d5f07c4d85988c4c --- src/runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime.c b/src/runtime.c index 20f9d5874..f63837be4 100644 --- a/src/runtime.c +++ b/src/runtime.c @@ -394,7 +394,7 @@ bool extract_appimage(const char* const appimage_path, const char* const _prefix if (!rv) break; } - } else if (inode.base.inode_type == SQUASHFS_SYMLINK_TYPE) { + } else if (inode.base.inode_type == SQUASHFS_SYMLINK_TYPE || inode.base.inode_type == SQUASHFS_LSYMLINK_TYPE) { size_t size; sqfs_readlink(&fs, &inode, NULL, &size); char buf[size];