Parcourir la source

added logic to copy home skeleton

tags/release-00
gashapwn il y a 3 ans
Parent
révision
067441e753
2 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. +1
    -3
      .gitignore
  2. +3
    -0
      perl-script/provision.pl

+ 1
- 3
.gitignore Voir le fichier

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

+ 3
- 0
perl-script/provision.pl Voir le fichier

@@ -47,6 +47,9 @@ chdir $admin_home_dir;
system("su $admin_un -c 'git clone $GIT_REPO'");
chdir $REPO_DIR;

# Copy the skel directory
system("cp -r ./skel/* /etc/skel/");

# Setup the virtual environment
system("pkg_add python3");
printf("generating virutal enviornment...\n");


Chargement…
Annuler
Enregistrer