added logic to copy home skeleton
This commit is contained in:
parent
ec9329668c
commit
067441e753
4
.gitignore
vendored
4
.gitignore
vendored
@ -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
|
||||||
|
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user