adapting for dream use
This commit is contained in:
parent
f3029a682c
commit
5a01d2ff69
1 changed files with 5 additions and 1 deletions
6
swww.sh
6
swww.sh
|
@ -40,9 +40,13 @@
|
||||||
# echo "DEBUG: Installing ${deps[@]}"
|
# echo "DEBUG: Installing ${deps[@]}"
|
||||||
check-and-install ${deps[@]}
|
check-and-install ${deps[@]}
|
||||||
|
|
||||||
pen bold yellow "Checking cargo.."
|
|
||||||
if ! command_exists cargo; then
|
if ! command_exists cargo; then
|
||||||
|
pen bold yellow "Installing cargo.."
|
||||||
curl --proto '=https' --tlsv1.2 -sSf "https://sh.rustup.rs" | sh
|
curl --proto '=https' --tlsv1.2 -sSf "https://sh.rustup.rs" | sh
|
||||||
|
|
||||||
|
sleep 2
|
||||||
|
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
else
|
else
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue