cargo-tauri.hook: fix installation when $out already exists

This commit is contained in:
TomaSajt
2025-05-17 04:21:47 +02:00
parent c76ede329c
commit eb6d1a086e
+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");