Add Linux stubs

This commit is contained in:
Filippo Valsorda
2018-06-26 01:48:41 -04:00
parent 3a8faf2415
commit bb19282ba9
2 changed files with 17 additions and 1 deletions

16
truststore_linux.go Normal file
View File

@@ -0,0 +1,16 @@
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"log"
"path/filepath"
)
func (m *mkcert) installPlatform() {
log.Fatalf("-install is not yet supported on Linux 😣\nYou can manually install the root certificate at %q in the meantime.", filepath.Join(m.CAROOT, rootName))
}
func (m *mkcert) uninstallPlatform() {}