File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ rm -f /etc/yum.repos.d/ius.repo
2525rm -f /etc/yum.repos.d/ius-testing.repo
2626rm -f /etc/yum.repos.d/MariaDB.repo
2727rm -f /etc/yum.repos.d/lux.repo
28+ yum clean all
29+ yum update -y
30+ yum autoremove epel-release -y
31+ rm -f /etc/yum.repos.d/epel.repo
32+ rm -f /etc/yum.repos.d/epel.repo.rpmsave
2833
2934# #
3035
183188if [ $SERVER_OS = " CentOS7" ] ; then
184189 yum -y install yum-utils
185190 yum -y groupinstall development
186- yum -y install https://centos7.iuscommunity.org/ius-release.rpm
187191 yum -y install python36u python36u-pip python36u-devel
188192elif [ $SERVER_OS = " CentOS8" ] ; then
189193 yum install -y wget strace htop net-tools telnet curl which bc telnet htop libevent-devel gcc libattr-devel xz-devel mariadb-devel curl-devel git platform-python-devel tar
@@ -216,8 +220,6 @@ unzip /usr/local/cyberpanel-pip.zip -d /usr/local
216220check_return
217221. /usr/local/CyberPanel/bin/activate
218222check_return
219- pip3.6 install --ignore-installed /usr/local/pip-packs/*
220- check_return
221223
222224if [ $SERVER_OS = " Ubuntu" ] ; then
223225 . /usr/local/CyberPanel/bin/activate
@@ -227,7 +229,7 @@ if [ $SERVER_OS = "Ubuntu" ] ; then
227229else
228230 source /usr/local/CyberPanel/bin/activate
229231 check_return
230- pip3.6 install --ignore-installed -r requirements.txt
232+ pip3.6 install --ignore-installed /usr/local/pip-packs/ *
231233 check_return
232234fi
233235
You can’t perform that action at this time.
0 commit comments