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
commit 30b71544af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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");