From e03153516c4c7d2253e9e659d8313581a6770c3f Mon Sep 17 00:00:00 2001 From: gashapwn Date: Tue, 2 Mar 2021 18:54:54 +0000 Subject: [PATCH] provision.pl - replacing pip package with OS package --- perl-script/provision.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-script/provision.pl b/perl-script/provision.pl index 3525e1b..ac225a6 100644 --- a/perl-script/provision.pl +++ b/perl-script/provision.pl @@ -123,7 +123,7 @@ if( ($admin_un) = `tail /etc/passwd | grep -v "nobody:"` =~ /([^:\n]+):[^:]+:[0- } # Setup the virtual environment -system("pkg_add python3 openssl rust py3-cryptography-3.1.1"); +system("pkg_add python3 openssl rust py3-flask-0.12.3p2"); printf("generating virtual enviornment...\n"); system("su $SVC_ACCT -c 'python3 -m venv venv'"); system("su $SVC_ACCT -c '. ./venv/bin/activate && pip3 install -r requirements.txt'");