mirror of
https://github.com/tommytran732/QubesOS-Scripts
synced 2024-11-22 09:51:32 -05:00
Update fedora.sh
This commit is contained in:
parent
2ebc3a53ac
commit
d8712616e5
24
fedora.sh
24
fedora.sh
@ -10,3 +10,27 @@ sudo rpm --import brave-core.asc
|
|||||||
rm -rf brave-core.asc
|
rm -rf brave-core.asc
|
||||||
echo "gpgcheck=1" | sudo tee /etc/yum.repos.d/brave-browser-rpm-release.s3.brave.com_x86_64_.repo
|
echo "gpgcheck=1" | sudo tee /etc/yum.repos.d/brave-browser-rpm-release.s3.brave.com_x86_64_.repo
|
||||||
sudo dnf intall brave-browser -y
|
sudo dnf intall brave-browser -y
|
||||||
|
|
||||||
|
echo '
|
||||||
|
[Unit]
|
||||||
|
Description=Update user Flatpaks
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/flatpak --user update -y
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
' | sudo tee /etc/systemd/user/update-user-flatpaks.service
|
||||||
|
|
||||||
|
echo '
|
||||||
|
[Unit]
|
||||||
|
Description=Update user Flatpaks daily
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=daily
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
|
' | sudo tee /etc/systemd/user/update-user-flatpaks.timer
|
||||||
|
Loading…
Reference in New Issue
Block a user