1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-11-05 18:41:34 -05:00

Update fedora.sh

This commit is contained in:
Tommy 2022-02-05 01:37:24 -05:00 committed by GitHub
parent 2ebc3a53ac
commit d8712616e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,3 +10,27 @@ sudo rpm --import 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
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