Skip to content

Commit

Permalink
update upgrade script address
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkLeong committed Sep 9, 2022
1 parent aac8fe8 commit 4434ba5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/sysroot/usr/share/casaos/shell/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
###


curl -fsSL https://raw.githubusercontent.com/LinkLeong/casaos-alpha/main/new.update.sh | bash
curl -fsSL https://raw.githubusercontent.com/IceWhaleTech/get/main/upgrade.sh | bash
2 changes: 1 addition & 1 deletion service/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func (s *systemService) UpdateSystemVersion(version string) {
}
file.CreateFile(config.AppInfo.LogPath + "/upgrade.log")
//go command2.OnlyExec("curl -fsSL https://raw.githubusercontent.com/LinkLeong/casaos-alpha/main/update.sh | bash")
go command2.OnlyExec("curl -fsSL https://raw.githubusercontent.com/IceWhaleTech/get/main/update.sh | sudo bash")
go command2.OnlyExec("curl -fsSL https://raw.githubusercontent.com/IceWhaleTech/get/main/upgrade.sh | bash")
//s.log.Error(config.AppInfo.ProjectPath + "/shell/tool.sh -r " + version)
//s.log.Error(command2.ExecResultStr(config.AppInfo.ProjectPath + "/shell/tool.sh -r " + version))
}
Expand Down

0 comments on commit 4434ba5

Please sign in to comment.