mirror of
https://github.com/capricornxl/ad-password-self-service.git
synced 2025-08-11 05:07:34 +08:00
fix session cache bug
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
SCRIPT=$(readlink -f $0)
|
SCRIPT=$(readlink -f $0)
|
||||||
CWD=$(dirname ${SCRIPT})
|
CWD=$(dirname ${SCRIPT})
|
||||||
@@ -155,7 +156,7 @@ if [[ ! -f "${CWD}/.init_repo.Done" ]]; then
|
|||||||
if [[ ${os_distro} =~ (CentOS|Centos) ]]; then
|
if [[ ${os_distro} =~ (CentOS|Centos) ]]; then
|
||||||
if [[ ${os_version_prefix} -lt 9 ]];then
|
if [[ ${os_version_prefix} -lt 9 ]];then
|
||||||
sudo cp -a /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
|
sudo cp -a /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
|
||||||
wget -c -t 10 -T 120 -O /etc/yum.repos.d/CentOS-Base.repo https://repo.huaweicloud.com/repository/conf/CentOS-${os_version}-reg.repo
|
curl --connect-timeout 120 -sSL -o /etc/yum.repos.d/CentOS-Base.repo https://repo.huaweicloud.com/repository/conf/CentOS-${os_version_prefix}-reg.repo
|
||||||
check_status $?
|
check_status $?
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
0
log/all.log
Normal file
0
log/all.log
Normal file
339156
log/log.log
339156
log/log.log
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user