소스 검색

provision.pl fixed venv chdir... again

tags/release-00
gashapwn 3 년 전
부모
커밋
f284697cd4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      perl-script/provision.pl

+ 2
- 2
perl-script/provision.pl 파일 보기

@@ -13,7 +13,7 @@ use strict;
# Nov 2020

my $GIT_REPO = 'https://git.lain.church/gashapwn/lyadmin.git';
my ($REPO_DIR) = $GIT_REPO =~ /\/([^\/]*)\.git$/;

my $pwuid;
my $admin_un;
@@ -45,7 +45,7 @@ system("pkg_add git");
system("pkg_add python3");
chdir $admin_home_dir;
system("su gashapwn -c 'git clone $GIT_REPO'");
chdir $GIT_REPO;
chdir $REPO_DIR;
system("su gashapwn -c 'python3 -m venv venv'");
# system("su gashapwn -c '. ./venv/bin/activate && pip3 install -r ");


불러오는 중...
취소
저장