Projects
Eulaceura:Factory
opengauss-server
_service:obs_scm:opengauss_upgrade_start.sh
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:opengauss_upgrade_start.sh of Package opengauss-server
#!/bin/bash # Copyright (c) Huawei Technologies Co., Ltd. 2010-2022. All rights reserved. # date: 2021-12-22 # version: 1.0 CURRENT_DIR=$( cd $(dirname $0) pwd ) source ${CURRENT_DIR}/opengauss_upgrade_config.sh source ${CURRENT_DIR}/opengauss_upgrade_common.sh function main() { check_and_init parse_cmd_line $@ case "${action}" in upgrade_pre) upgrade_pre exit 0 ;; upgrade_bin) upgrade_bin exit 0 ;; upgrade_post) upgrade_post exit 0 ;; rollback_pre) rollback_pre exit 0 ;; rollback_bin) rollback_bin exit 0 ;; rollback_post) rollback_post exit 0 ;; upgrade_commit) upgrade_commit exit 0 ;; switch_over) switch_over exit 0 ;; *) log "please input right parameter, the following command may help you" log "sh upgrade_GAUSSV5.sh --help or sh upgrade_GAUSSV5.sh -h" die "Must input parameter -t action" ${err_parameter} ;; esac } main $@
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2