ports/net-mgmt/semaphore/files/patch-db_sql_SqlDb.go
Vinícius Zavam d273069dea
net-mgmt/semaphore: update 2.6.8 to 2.8.53
* this release fixes support for LDAPS (tls);
  * bulk (testport) OK: 12, 13, main (CURRENT/HEAD);
  * .sql patches used by 'semaphore migration' were updated;
  * cleanup on GH_TUPLE.

  CHANGELOG
    * https://github.com/ansible-semaphore/semaphore/releases/tag/v2.8.53

  DIFFERENCE
    * https://github.com/ansible-semaphore/semaphore/compare/v2.6.8...v2.8.53
2022-02-24 19:50:10 +00:00

11 lines
330 B
Go

--- db/sql/SqlDb.go.orig 2022-02-24 18:36:46 UTC
+++ db/sql/SqlDb.go
@@ -28,7 +28,7 @@ create table ` + "`migrations`" + ` (
` + "`notes`" + ` text null
);
`
-var dbAssets = packr.NewBox("./migrations")
+var dbAssets = packr.NewBox("%%DATADIR%%")
func containsStr(arr []string, str string) bool {
for _, a := range arr {