upgrade_unsupp.go 446 B

123456789101112131415
  1. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
  2. // All rights reserved. Use of this source code is governed by an MIT-style
  3. // license that can be found in the LICENSE file.
  4. // +build solaris noupgrade
  5. package upgrade
  6. func upgradeTo(path string, rel Release, extra string) error {
  7. return ErrUpgradeUnsupported
  8. }
  9. func LatestRelease(prerelease bool) (Release, error) {
  10. return Release{}, ErrUpgradeUnsupported
  11. }