Skip to content

Commit

Permalink
update requirests for al8
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Aug 6, 2024
1 parent 3f733e0 commit e2758d0
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cyberpanel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,12 @@ Debug_Log2 "Setting up repositories for CN server...,1"
Download_Requirement() {
for i in {1..50} ;
do
wget -O /usr/local/requirments.txt "${Git_Content_URL}/${Branch_Name}/requirments.txt"
if [[ "$Server_OS_Version" = "22" ]] || [[ "$Server_OS_Version" = "9" ]]; then
wget -O /usr/local/requirments.txt "${Git_Content_URL}/${Branch_Name}/requirments.txt"
else
wget -O /usr/local/requirments.txt "${Git_Content_URL}/${Branch_Name}/requirments-old.txt"
fi

if grep -q "Django==" /usr/local/requirments.txt ; then
break
else
Expand Down
30 changes: 30 additions & 0 deletions requirments-old.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
bcrypt==3.2.0
beautifulsoup4==4.9.3
boto3==1.18.26
botocore==1.21.26
cloudflare==2.8.13
cryptography==3.2.1
Django==3.1.3
docker==4.3.1
google-api-core==1.23.0
google-api-python-client==1.12.5
google-auth==1.23.0
google-auth-httplib2==0.0.4
google-auth-oauthlib==0.4.2
googleapis-common-protos==1.52.0
ipaddress==1.0.23
mysqlclient==2.0.1
oauthlib==3.1.0
paramiko==2.9.2
pexpect==4.8.0
psutil==5.7.3
py3dns==3.2.1
pyOpenSSL==19.1.0
pysftp
requests==2.26.0
s3transfer==0.5.0
sqlparse==0.4.2
tldextract==3.0.2
tornado==6.1
validators==0.18.1
websocket-client==0.57.0

0 comments on commit e2758d0

Please sign in to comment.