Merge pull request #1062 from harshavardhana/update-wording

Change update-wording to add chmod 755
This commit is contained in:
Harshavardhana
2015-08-28 23:35:51 -07:00
+1 -1
View File
@@ -69,7 +69,7 @@ func (u UpdateMessage) String() string {
if runtime.GOOS == "windows" {
msg = "mc.exe cp " + u.Download + " .\\mc.exe"
} else {
msg = "mc cp " + u.Download + " ./mc"
msg = "mc cp " + u.Download + " ./mc.new; chmod 755 ./mc.new"
}
msg, err := colorizeUpdateMessage(msg)
fatalIf(err.Trace(msg), "Unable to colorize experimental update notification string ‘"+msg+"’.")