tumbleweed-cli
tumbleweed-cli copied to clipboard
`tumbleweed init` not changing repo URLs when spaces surround equal
Hi, my openSUSE systems use slightly customized repository names and priorities:
cat /etc/zypp/repos.d/Tumbleweed_OSS.repo
[Tumbleweed_OSS]
enabled = 1
autorefresh = 1
baseurl = http://download.opensuse.org/tumbleweed/repo/oss/
type = NONE
keeppackages = 1
priority = 98
For some reason the tumbleweed init
action is not changing anything, although it does create the .previous
directory and puts copies of Tumbleweed_OSS.repo
and Tumbleweed_non-OSS.repo
there.
This is a regression, because this used to work up until about a few months ago, which was the last time I ran a tumbleweed init
on a new installation with these same customizations to the repos.
Thanks a lot!
It looks like this is due to the space in front of the equal signs.
https://github.com/boombatower/tumbleweed-cli/blob/3cdc47c852bf4de9799fcb587a3ec0215b922051/tumbleweed#L73-L74