deb-update.bash: add fedora-third-party

This commit is contained in:
Aminda Suomalainen 2022-04-21 09:11:24 +03:00
parent 9d2e5953f9
commit 0b71f19488
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,14 @@ if hash apt-get 2>/dev/null; then
apt-get "$@" autoremove
fi
# Enables Fedora third party repositories if not enabled, otherwise quiet.
# My systems most likely have them already
if hash fedora-third-party 2>/dev/null; then
fedora-third-party enable
# Are they enabled?
fedora-third-party query
fi
if hash dnf 2>/dev/null; then
# I don't know if -y does anything here either and I think this may be
# useless, but I am used to it coming from apt and I think it will just