aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/fpkg/install.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2024-12-29 17:10:41 +0900
committerOphestra <cat@gensokyo.uk>2024-12-29 17:10:41 +0900
commit891b3cbde75c071b7339716d6fae727e26f19c0a (patch)
treeb1a5eb1555acc286ae2b667bf7f687c5429aa1b5 /cmd/fpkg/install.go
parentc795293f3690ca6d91e898b72edd0a20b9708450 (diff)
cmd/fpkg: compare all three store paths
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/fpkg/install.go')
-rw-r--r--cmd/fpkg/install.go4
1 files changed, 3 insertions, 1 deletions
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)