forked from extern/nix-config
13afe8d8cd
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.
9 lines
194 B
Bash
Executable File
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
|