diff --git a/README.md b/README.md index cb20975..1f47602 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ On macOS, use Homebrew. brew install --HEAD FiloSottile/mkcert/mkcert ``` -On Linux (support coming soon!), use [the pre-built binaries](https://github.com/FiloSottile/mkcert/releases), or build from source. +On Linux (install support coming soon!), use [the pre-built binaries](https://github.com/FiloSottile/mkcert/releases), or build from source. ``` $ git clone https://github.com/FiloSottile/mkcert diff --git a/truststore_linux.go b/truststore_linux.go new file mode 100644 index 0000000..fcbfbdf --- /dev/null +++ b/truststore_linux.go @@ -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() {}