File: 000-update-import-path.patch

package info (click to toggle)
golang-github-minio-selfupdate 0.6.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 200 kB
  • sloc: makefile: 3
file content (55 lines) | stat: -rw-r--r-- 1,292 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
From: Mathias Gibbens <gibmat@debian.org>
Description: Update import paths for Debian's packaging
Forwarded: https://github.com/minio/selfupdate/issues/16
diff --git a/apply.go b/apply.go
index ec1b92a..94a85fa 100644
--- a/apply.go
+++ b/apply.go
@@ -10,7 +10,7 @@ import (
 	"os"
 	"path/filepath"
 
-	"github.com/minio/selfupdate/internal/osext"
+	"github.com/kardianos/osext"
 )
 
 // Apply performs an update of the current executable or opts.TargetFile, with
diff --git a/apply_test.go b/apply_test.go
index fa389fd..86ec5f8 100644
--- a/apply_test.go
+++ b/apply_test.go
@@ -12,7 +12,7 @@ import (
 	"os"
 	"testing"
 
-	"github.com/minio/selfupdate/internal/binarydist"
+	"github.com/kr/binarydist"
 )
 
 var (
diff --git a/minisign.go b/minisign.go
index e488883..0a9f399 100644
--- a/minisign.go
+++ b/minisign.go
@@ -5,7 +5,7 @@ import (
 	"io"
 	"net/http"
 
-	"aead.dev/minisign"
+	"github.com/aead/minisign"
 )
 
 type Verifier struct {
diff --git a/patcher.go b/patcher.go
index 1bff793..2feaded 100644
--- a/patcher.go
+++ b/patcher.go
@@ -3,7 +3,7 @@ package selfupdate
 import (
 	"io"
 
-	"github.com/minio/selfupdate/internal/binarydist"
+	"github.com/kr/binarydist"
 )
 
 // Patcher defines an interface for applying binary patches to an old item to get an updated item.