aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-03-17 08:17:42 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-03-17 08:17:42 +0200
commit62802cddf6e5fb91b5d3adeb8ff459e975615d2d (patch)
tree5421c5ac07f0104e1a442aa14b6038ab0f0359a1 /pkg/portage
parentapp/maintainer/pull-requests: fix sorting (diff)
downloadsoko-62802cddf6e5fb91b5d3adeb8ff459e975615d2d.tar.gz
soko-62802cddf6e5fb91b5d3adeb8ff459e975615d2d.tar.bz2
soko-62802cddf6e5fb91b5d3adeb8ff459e975615d2d.zip
update/packages: override upstream info on update
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'pkg/portage')
-rw-r--r--pkg/portage/repository/package.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/portage/repository/package.go b/pkg/portage/repository/package.go
index 2c51caa..ac55283 100644
--- a/pkg/portage/repository/package.go
+++ b/pkg/portage/repository/package.go
@@ -77,6 +77,7 @@ func UpdatePackages(paths []string) {
Set("name = EXCLUDED.name").
Set("longdescription = EXCLUDED.longdescription").
Set("maintainers = EXCLUDED.maintainers").
+ Set("upstream = EXCLUDED.upstream").
Insert()
if err != nil {
logger.Error.Println("Error during updating packages", err)