Skip to content

Commit

Permalink
updated libc-client & uw-imap-devel workaround for CentOS 7 part 2
Browse files Browse the repository at this point in the history
- rpm package name changed
  • Loading branch information
centminmod committed Aug 3, 2017
1 parent 49117c1 commit 2147627
Show file tree
Hide file tree
Showing 17 changed files with 102 additions and 102 deletions.
12 changes: 6 additions & 6 deletions inc/cpcheck.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ libc_fix() {
elif [[ "$CENTOS_SEVEN" -eq '7' && ! -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget -q https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget -q https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget -q https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget -q https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum -y -q remove libc-client
yum -y -q localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y -q localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum -y -q install yum-plugin-versionlock
yum versionlock libc-client uw-imap-devel -q >/dev/null 2>&1
cd "$INIT_DIR"
elif [[ "$CENTOS_SEVEN" -eq '7' && -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget -q https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget -q https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget -q https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget -q https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock delete libc-client uw-imap-devel -q >/dev/null 2>&1
yum -y -q remove libc-client
yum -y -q localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y -q localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock libc-client uw-imap-devel -q >/dev/null 2>&1
cd "$INIT_DIR"
fi
Expand Down
12 changes: 6 additions & 6 deletions installer-dnf-gitlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -616,21 +616,21 @@ libc_fix() {
elif [[ "$CENTOS_SEVEN" -eq '7' && ! -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum -y install yum-plugin-versionlock
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
elif [[ "$CENTOS_SEVEN" -eq '7' && -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock delete libc-client uw-imap-devel
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
fi
Expand Down
12 changes: 6 additions & 6 deletions installer-dnf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -616,21 +616,21 @@ libc_fix() {
elif [[ "$CENTOS_SEVEN" -eq '7' && ! -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum -y install yum-plugin-versionlock
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
elif [[ "$CENTOS_SEVEN" -eq '7' && -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock delete libc-client uw-imap-devel
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
fi
Expand Down
12 changes: 6 additions & 6 deletions installer-gitlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -616,21 +616,21 @@ libc_fix() {
elif [[ "$CENTOS_SEVEN" -eq '7' && ! -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum -y install yum-plugin-versionlock
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
elif [[ "$CENTOS_SEVEN" -eq '7' && -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock delete libc-client uw-imap-devel
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
fi
Expand Down
12 changes: 6 additions & 6 deletions installer-latest-gitlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -622,21 +622,21 @@ libc_fix() {
elif [[ "$CENTOS_SEVEN" -eq '7' && ! -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum -y install yum-plugin-versionlock
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
elif [[ "$CENTOS_SEVEN" -eq '7' && -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock delete libc-client uw-imap-devel
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
fi
Expand Down
12 changes: 6 additions & 6 deletions installer-latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -620,21 +620,21 @@ libc_fix() {
elif [[ "$CENTOS_SEVEN" -eq '7' && ! -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum -y install yum-plugin-versionlock
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
elif [[ "$CENTOS_SEVEN" -eq '7' && -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock delete libc-client uw-imap-devel
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
fi
Expand Down
12 changes: 6 additions & 6 deletions installer-minimal-gitlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -616,21 +616,21 @@ libc_fix() {
elif [[ "$CENTOS_SEVEN" -eq '7' && ! -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum -y install yum-plugin-versionlock
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
elif [[ "$CENTOS_SEVEN" -eq '7' && -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock delete libc-client uw-imap-devel
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
fi
Expand Down
12 changes: 6 additions & 6 deletions installer-minimal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -616,21 +616,21 @@ libc_fix() {
elif [[ "$CENTOS_SEVEN" -eq '7' && ! -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum -y install yum-plugin-versionlock
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
elif [[ "$CENTOS_SEVEN" -eq '7' && -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock delete libc-client uw-imap-devel
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
fi
Expand Down
12 changes: 6 additions & 6 deletions installer-ngxpagespeed-gitlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -616,21 +616,21 @@ libc_fix() {
elif [[ "$CENTOS_SEVEN" -eq '7' && ! -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum -y install yum-plugin-versionlock
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
elif [[ "$CENTOS_SEVEN" -eq '7' && -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock delete libc-client uw-imap-devel
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
fi
Expand Down
12 changes: 6 additions & 6 deletions installer-ngxpagespeed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -616,21 +616,21 @@ libc_fix() {
elif [[ "$CENTOS_SEVEN" -eq '7' && ! -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum -y install yum-plugin-versionlock
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
elif [[ "$CENTOS_SEVEN" -eq '7' && -f /etc/yum/pluginconf.d/versionlock.conf && "$(rpm -qa libc-client)" != 'libc-client-2007f-16.el7.1.x86_64' ]]; then
INIT_DIR=$(echo $PWD)
cd /svr-setup
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-devel-2007f-16.el7.1.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/libc-client-2007f-16.el7.x86_64.rpm
wget https://centminmod.com/centminmodparts/uw-imap/uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock delete libc-client uw-imap-devel
yum -y remove libc-client
yum -y localinstall libc-client-2007f-16.el7.1.x86_64.rpm uw-imap-devel-2007f-16.el7.1.x86_64.rpm
yum -y localinstall libc-client-2007f-16.el7.x86_64.rpm uw-imap-2007f-16.el7.x86_64.rpm
yum versionlock libc-client uw-imap-devel uw-imap-devel
cd "$INIT_DIR"
fi
Expand Down
Loading

0 comments on commit 2147627

Please sign in to comment.