provision.pl - fixed typo in pip installation

This commit is contained in:
gashapwn 2020-11-28 23:23:16 +00:00
parent 80738fe003
commit b0bb56d8e4

View File

@ -49,7 +49,8 @@ chdir $REPO_DIR;
# Setup the virtual environment # Setup the virtual environment
system("pkg_add python3"); system("pkg_add python3");
printf("generating virutal enviornment...\n");
system("su $admin_un -c 'python3 -m venv venv'"); system("su $admin_un -c 'python3 -m venv venv'");
system("su $admin_un -c '. ./venv/bin/activate && pip3 install -r "); system("su $admin_un -c '. ./venv/bin/activate && pip3 install -r requirements.txt");
system("pkg_add p5-JSON"); system("pkg_add p5-JSON");