Skip to content

Commit 6dde9cb

Browse files
committed
change: pip packs installation
1 parent 6f5459d commit 6dde9cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cyberpanel.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,9 +1130,9 @@ main_install() {
11301130
if [[ $debug == "1" ]]; then
11311131

11321132
if [[ $UBUNTU_20 == "False" ]]; then
1133-
pip3.6 install --ignore-installed /usr/local/pip-packs/*
1133+
pip3.6 install --ignore-installed -r requirments.txt
11341134
else
1135-
pip3.6 install --ignore-installed /usr/local/packages/*
1135+
pip3.6 install --ignore-installed -r requirments.txt
11361136
fi
11371137

11381138
if [[ $REDIS_HOSTING == "Yes" ]]; then
@@ -1293,12 +1293,12 @@ EOF
12931293
if [[ $UBUNTU_20 == "False" ]]; then
12941294
source /usr/local/CyberCP/bin/activate
12951295
check_return
1296-
pip3 install --ignore-installed /usr/local/pip-packs/*
1296+
pip3 install --ignore-installed -r requirments.txt
12971297
check_return
12981298
else
12991299
. /usr/local/CyberCP/bin/activate
13001300
check_return
1301-
pip3 install --ignore-installed /usr/local/packages/*
1301+
pip3 install --ignore-installed -r requirments.txt
13021302
check_return
13031303
fi
13041304

0 commit comments

Comments
 (0)