Change update-wording to add chmod 755

This commit is contained in:
Harshavardhana
2015-08-28 23:34:45 -07:00
parent f831d94d3f
commit e1f08e53f6
+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+"’.")