git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #48559 from tilpner/appimage-run-type-1-2

appimage-run: Fix type-1 support, used wrong directory

commit7dea8e403e5540d1c1fe1b5f1003f81bb0971eb5 authorJörg Thalheim <Mic92@users.noreply.github.com> dateWed 17 Oct 2018, 11:54 (8 years ago) parent41d043762dc7fb
1 file changed+2−1
pkgs/tools/package-management/appimage-run/default.nix+2−1
pkgs/tools/package-management/appimage-run/default.nix+2−1
@@ -134,7 +134,8 @@ buildFHSUserEnv {
134134
135135 if ${file}/bin/file --mime-type --brief --keep-going "$APPIMAGE" | grep -q iso; then
136136 # is type-1 appimage
137− ${libarchive}/bin/bsdtar -x -C "$SQUASHFS_ROOT" -f "$APPIMAGE"
137+ mkdir "$APPDIR"
138+ ${libarchive}/bin/bsdtar -x -C "$APPDIR" -f "$APPIMAGE"
138139 else
139140 # is type-2 appimage
140141 "$APPIMAGE" --appimage-extract 2>/dev/null