mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
packages.setup_sources(): log when package version changes after refreshing
This commit is contained in:
parent
f705e39ca1
commit
771199d932
1 changed files with 3 additions and 0 deletions
|
@ -439,7 +439,10 @@ def setup_sources(package: Pkgbuild, lazy: bool = True):
|
|||
cache.refresh_all(write=False)
|
||||
cache.src_initialised = cache.checksums['PKGBUILD']
|
||||
cache.write()
|
||||
old_version = package.version
|
||||
package.refresh_sources()
|
||||
if package.version != old_version:
|
||||
logging.info(f"{package.path}: version refreshed from {old_version} to {package.version}")
|
||||
|
||||
|
||||
def build_package(
|
||||
|
|
Loading…
Add table
Reference in a new issue