Remove useless dir deletion. We're now checking that it doesn't exist, making it redundant.

This commit is contained in:
Tk-Glitch
2022-12-21 22:14:46 +01:00
parent 1854907001
commit f4324da8a1

View File

@@ -394,7 +394,7 @@ _linux_git_branch_checkout() {
msg2 "First initialization of the linux source code git folder"
if [ "$_source_in_tmpfs" = "true" ]; then
rm -rf "${_where}/linux-src-git"
rm -rf "/tmp/linux-src-git" && mkdir "/tmp/linux-src-git"
mkdir "/tmp/linux-src-git"
ln -s "/tmp/linux-src-git" "${_where}"
else
mkdir linux-src-git