add missing virtualenv

This commit is contained in:
Usman Nasir
2020-05-12 03:05:07 +05:00
parent 536d3da622
commit 2a90ec2dfd
2 changed files with 5 additions and 0 deletions

View File

@@ -1010,6 +1010,7 @@ if [[ $debug == "0" ]] ; then
exit exit
fi fi
virtualenv -p /usr/bin/python3 /usr/local/CyberCP
if [[ $debug == "1" ]] ; then if [[ $debug == "1" ]] ; then
if [[ $UBUNTU_20 == "False" ]] ; then if [[ $UBUNTU_20 == "False" ]] ; then
/usr/local/CyberPanel/bin/pip3 install --ignore-installed /usr/local/pip-packs/* /usr/local/CyberPanel/bin/pip3 install --ignore-installed /usr/local/pip-packs/*

View File

@@ -1318,6 +1318,10 @@ imap_folder_list_limit = 0
os.chdir(self.cwd) os.chdir(self.cwd)
print(os.getcwd())
time.sleep(30)
if self.distro == ubuntu: if self.distro == ubuntu:
command = "apt-get -y install gcc g++ make autoconf rcs" command = "apt-get -y install gcc g++ make autoconf rcs"
else: else: