cargo-tauri.hook: fix installation when $out already exists (#407796)
This commit is contained in:
commit
30b71544af
@ -42,7 +42,8 @@ makeSetupHook {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
linux = ''
|
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");
|
.${kernelName} or (throw "${kernelName} is not supported by cargo-tauri.hook");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user