1
0
forked from extern/nix-config
donovanglover-nix-config/.fedora/vendor/crystal-setup.sh
Donovan Glover 13afe8d8cd
fedora: Add vendor scripts
These scripts can be manually updated by running the `make update`
command. When you do so, visually compare the diffs. This is to
ensure that nothing particularly naughty happened upstream.

Note that this is not a fool-proof solution since one can simply
modify the content returned by any other location a script requests.
2018-11-11 12:11:44 -05:00

9 lines
194 B
Bash
Executable File

#!/usr/bin/env bash
cat > /etc/yum.repos.d/crystal.repo <<END
[crystal]
name = Crystal
baseurl = http://dist.crystal-lang.org/rpm/
END
rpm --import http://dist.crystal-lang.org/rpm/RPM-GPG-KEY