fix cavif being compiled locally (not installed via dnf)

This commit is contained in:
askiiart 2025-05-22 19:12:26 -05:00
parent c3d8ac36ce
commit b3ffddb98f
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A
2 changed files with 2 additions and 3 deletions

View file

@ -7,10 +7,9 @@ fi
command_exists() { type "$1" &>/dev/null; }
if command_exists "yum"; then
sudo dnf install rustup -y
sudo dnf install rustup gcc -y
fish -c "rustup-init"
fish -c "cargo install cavif"
sudo dnf remove rust -y
elif command_exists "rpm-ostree"; then
sudo wget https://askiiart.net/repos/fedora/x86_64/askiiart.repo -O /etc/yum.repos.d/askiiart.repo