Skip to content

Commit

Permalink
appimage-run: Fix type-1 support, used wrong directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tilpner committed Oct 16, 2018
1 parent 82cafa4 commit 62dc7fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/tools/package-management/appimage-run/default.nix
Original file line number Diff line number Diff line change
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 62dc7fb

Please sign in to comment.