mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Renamed to upgrade
This commit is contained in:
parent
da9056fdd0
commit
22c37339cc
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
# /etc/slpkg/rules.toml
|
||||
# Date: 23/05/2023, Version: 4.8.6
|
||||
|
||||
[UPDATES]
|
||||
[UPGRADE]
|
||||
# If the installed package version pattern has a different matching
|
||||
# than the repository version for some special rules like nvidia-kernel,
|
||||
# please add the package in this list below.
|
||||
|
|
|
@ -23,7 +23,7 @@ class Rules(Configs):
|
|||
if self.rules_file_toml.is_file():
|
||||
try:
|
||||
with open(self.rules_file_toml, 'rb') as conf:
|
||||
packages: tuple = tuple(tomli.load(conf)['UPDATES']['PACKAGES'])
|
||||
packages: tuple = tuple(tomli.load(conf)['UPGRADE']['PACKAGES'])
|
||||
except (tomli.TOMLDecodeError, KeyError) as error:
|
||||
self.errors.raise_toml_error_message(error, self.rules_file_toml)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue