update dnf add repo syntax
This commit is contained in:
parent
47bb90de9c
commit
f2823f2c78
7 changed files with 22 additions and 7 deletions
|
@ -7,7 +7,6 @@ fi
|
|||
command_exists() { type "$1" &>/dev/null; }
|
||||
|
||||
if command_exists "yum"; then
|
||||
sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo
|
||||
sudo dnf install rustup -y
|
||||
fish -c "rustup-init"
|
||||
elif command_exists "rpm-ostree"; then
|
||||
|
@ -20,4 +19,4 @@ else
|
|||
echo "figure out rustup yourself"
|
||||
echo "enter to continue"
|
||||
read -p ""
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue