mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-22 14:48:30 +00:00
Build debian skeleton
This commit is contained in:
parent
2c4e6f2926
commit
8bf9f4f5ab
6
build.go
6
build.go
@ -303,7 +303,7 @@ func buildDeb() {
|
||||
}
|
||||
|
||||
control := `Package: syncthing
|
||||
Architecture: {{goarch}}
|
||||
Architecture: {{arch}}
|
||||
Depends: libc6
|
||||
Version: {{version}}
|
||||
Maintainer: Jakob Borg <jakob@nym.se>
|
||||
@ -318,9 +318,9 @@ Description: Open Source Continuous File Synchronization
|
||||
-- Jakob Borg <jakob@nym.se> {{date}}
|
||||
`
|
||||
|
||||
control = strings.Replace(control, "{{debarch}}", goarch, -1)
|
||||
control = strings.Replace(control, "{{arch}}", debarch, -1)
|
||||
control = strings.Replace(control, "{{version}}", version[1:], -1)
|
||||
changelog = strings.Replace(changelog, "{{debarch}}", goarch, -1)
|
||||
changelog = strings.Replace(changelog, "{{arch}}", debarch, -1)
|
||||
changelog = strings.Replace(changelog, "{{version}}", version[1:], -1)
|
||||
changelog = strings.Replace(changelog, "{{date}}", time.Now().Format(time.RFC1123), -1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user