mirror of
https://github.com/octoleo/syncthing.git
synced 2024-10-10 06:57:56 +00:00
debian: Rename debian directory to debtpl (fixes #3099)
To keep it out of the way for actual, real, Debian packagers GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3195
This commit is contained in:
parent
9bb5988b4e
commit
4669ce0766
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,7 +1,4 @@
|
|||||||
syncthing
|
/syncthing
|
||||||
!gui/syncthing
|
|
||||||
!debian/syncthing
|
|
||||||
!Godeps/_workspace/src/github.com/syncthing
|
|
||||||
syncthing.exe
|
syncthing.exe
|
||||||
*.tar.gz
|
*.tar.gz
|
||||||
*.zip
|
*.zip
|
||||||
|
2
build.go
2
build.go
@ -438,7 +438,7 @@ func buildDeb(target target) {
|
|||||||
"date": time.Now().Format(time.RFC1123),
|
"date": time.Now().Format(time.RFC1123),
|
||||||
}
|
}
|
||||||
|
|
||||||
debTemplateFiles := append(listFiles("debian/common"), listFiles("debian/"+target.name)...)
|
debTemplateFiles := append(listFiles("debtpl/common"), listFiles("debtpl/"+target.name)...)
|
||||||
for _, file := range debTemplateFiles {
|
for _, file := range debTemplateFiles {
|
||||||
tpl, err := template.New(filepath.Base(file)).ParseFiles(file)
|
tpl, err := template.New(filepath.Base(file)).ParseFiles(file)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user