Post #2093191
2026-04-29 17:25 UTC
Fedora 44 includes a small improvement for enabling/disabling repos that makes my OCD happy.
old syntax:
dnf config-manager setopt $repoid.enabled=1
dnf config-manager setopt $repoid.enabled=0
new syntax:
dnf config-manager enable $repoid
dnf config-manager disable $repoid
#fedora #dnf
Replies (1)
-
@buckfiftyseven@mastodon.social 2026-04-29 17:32
@carlwgeorge@fosstodon.org I like it, but I did get bit by some copypasta today that assumed the old way ;-) Actually the suggestion was: dnf config-manager --set-disabled $repoid But easily sorted