rust, posix
This commit is contained in:
parent
db3e2d75f5
commit
a7fa3c165b
1 changed files with 4 additions and 3 deletions
|
@ -6,7 +6,7 @@ set -e
|
||||||
|
|
||||||
# Install yay
|
# Install yay
|
||||||
cd
|
cd
|
||||||
if ! type "yay" &> /dev/null; then
|
if [ ! "$(command -v rustup)" ]; then
|
||||||
|
|
||||||
echo "Yay not found, installing..."
|
echo "Yay not found, installing..."
|
||||||
|
|
||||||
|
@ -48,8 +48,9 @@ if [ "$1" -ge 1 ]; then
|
||||||
wget \
|
wget \
|
||||||
zsh \
|
zsh \
|
||||||
|
|
||||||
[ -x "$(command -v rustup)" ] && yay -S --needed --noconfirm rust
|
if [ ! "$(command -v rustup)" ]; then
|
||||||
|
yay -S --needed --noconfirm rust
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install basic GUI
|
# Install basic GUI
|
||||||
|
|
Loading…
Add table
Reference in a new issue