Upgrade pmctl to only do a self upgrade when the update is already available
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
|
||||
func checkForUpgrade() (update *updates.File) {
|
||||
info := info.GetInfo()
|
||||
file, err := getFile("pmctl/pmctl")
|
||||
file, err := updates.GetLocalPlatformFile("pmctl/pmctl")
|
||||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user