Unverified Commit 30b71544 authored by Seth Flynn's avatar Seth Flynn Committed by GitHub
Browse files

cargo-tauri.hook: fix installation when $out already exists (#407796)

parents 9ecb1568 eb6d1a08
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -42,7 +42,8 @@ makeSetupHook {
        '';

        linux = ''
          mv "$targetDir"/bundle/deb/*/data/usr $out
          mkdir -p $out
          mv "$targetDir"/bundle/deb/*/data/usr/* $out/
        '';
      }
      .${kernelName} or (throw "${kernelName} is not supported by cargo-tauri.hook");