From 891b3cbde75c071b7339716d6fae727e26f19c0a Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 29 Dec 2024 17:10:41 +0900 Subject: cmd/fpkg: compare all three store paths Signed-off-by: Ophestra --- cmd/fpkg/install.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmd/fpkg/install.go') diff --git a/cmd/fpkg/install.go b/cmd/fpkg/install.go index 793b953f..86c6ab25 100644 --- a/cmd/fpkg/install.go +++ b/cmd/fpkg/install.go @@ -97,7 +97,9 @@ func actionInstall(args []string) { if app != bundle { // do not try to re-install - if app.Launcher == bundle.Launcher { + if app.CurrentSystem == bundle.CurrentSystem && + app.Launcher == bundle.Launcher && + app.ActivationPackage == bundle.ActivationPackage { cleanup() fmsg.Printf("package %q is identical to local application %q", pkgPath, app.ID) fmsg.Exit(0) -- cgit v1.3.1