fix(just): Create repo file with sudo

This commit is contained in:
Kyle Gospodnetich 2024-03-09 11:00:09 -08:00 committed by GitHub
parent 6d96727fc6
commit ba7261081a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@ install-lact:
install-coolercontrol:
#!/usr/bin/bash
ublue-update --wait
wget https://copr.fedorainfracloud.org/coprs/codifryed/CoolerControl/repo/fedora-$(rpm -E %fedora)/codifryed-CoolerControl-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_codifryed-CoolerControl.repo
sudo wget https://copr.fedorainfracloud.org/coprs/codifryed/CoolerControl/repo/fedora-$(rpm -E %fedora)/codifryed-CoolerControl-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_codifryed-CoolerControl.repo
rpm-ostree install --apply-live -y liquidctl coolercontrol
systemctl enable coolercontrold.service
mkdir -p $HOME/.config/autostart