adapting for dream use

This commit is contained in:
pika 2025-05-26 15:55:44 +02:00
parent f3029a682c
commit 5a01d2ff69

View file

@ -40,9 +40,13 @@
# echo "DEBUG: Installing ${deps[@]}"
check-and-install ${deps[@]}
pen bold yellow "Checking cargo.."
if ! command_exists cargo; then
pen bold yellow "Installing cargo.."
curl --proto '=https' --tlsv1.2 -sSf "https://sh.rustup.rs" | sh
sleep 2
. "$HOME/.cargo/env"
else
return 0
fi