mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 21:03:59 +01:00
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
|