Skip to content

Commit

Permalink
Merge pull request #48559 from tilpner/appimage-run-type-1-2
Browse files Browse the repository at this point in the history
appimage-run: Fix type-1 support, used wrong directory
  • Loading branch information
Mic92 committed Oct 17, 2018
2 parents 41d0437 + 62dc7fb commit 7dea8e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/tools/package-management/appimage-run/default.nix
Expand Up @@ -134,7 +134,8 @@ buildFHSUserEnv {
if ${file}/bin/file --mime-type --brief --keep-going "$APPIMAGE" | grep -q iso; then
# is type-1 appimage
${libarchive}/bin/bsdtar -x -C "$SQUASHFS_ROOT" -f "$APPIMAGE"
mkdir "$APPDIR"
${libarchive}/bin/bsdtar -x -C "$APPDIR" -f "$APPIMAGE"
else
# is type-2 appimage
"$APPIMAGE" --appimage-extract 2>/dev/null
Expand Down

0 comments on commit 7dea8e4

Please sign in to comment.