Create gogs database before restoring from backup
This commit is contained in:
parent
bcaf4f07fa
commit
2acf8f67ce
File diff suppressed because it is too large
Load Diff
|
@ -132,14 +132,6 @@ function get_mariadb_webmail_admin_password {
|
|||
fi
|
||||
}
|
||||
|
||||
function get_mariadb_git_admin_password {
|
||||
if [ -f /home/$MY_USERNAME/README ]; then
|
||||
if grep -q "Gogs admin user password" /home/$MY_USERNAME/README; then
|
||||
GIT_ADMIN_PASSWORD=$(cat /home/$MY_USERNAME/README | grep "Gogs admin user password" | awk -F ':' '{print $2}' | sed 's/^ *//')
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
function install_mariadb {
|
||||
if grep -Fxq "install_mariadb" $COMPLETION_FILE; then
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue