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

This commit is contained in:
Seth Flynn
2025-05-27 23:29:14 -04:00
committed by GitHub
+2 -1
View File
@@ -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");