added logic to copy home skeleton

This commit is contained in:
gashapwn 2020-11-29 07:44:02 +00:00
parent ec9329668c
commit 067441e753
2 changed files with 4 additions and 3 deletions

4
.gitignore vendored
View File

@ -2,8 +2,6 @@ venv/*
test/* test/*
*~ *~
test_*.txt test_*.txt
*/p0.pl */p[0-9].pl
*/p1.pl
*/p2.pl
notes.txt notes.txt
user_list.txt user_list.txt

View File

@ -47,6 +47,9 @@ chdir $admin_home_dir;
system("su $admin_un -c 'git clone $GIT_REPO'"); system("su $admin_un -c 'git clone $GIT_REPO'");
chdir $REPO_DIR; chdir $REPO_DIR;
# Copy the skel directory
system("cp -r ./skel/* /etc/skel/");
# Setup the virtual environment # Setup the virtual environment
system("pkg_add python3"); system("pkg_add python3");
printf("generating virutal enviornment...\n"); printf("generating virutal enviornment...\n");