Pārlūkot izejas kodu

provision.pl - handle skel directory for admin user

tags/release-00
gashapwn pirms 3 gadiem
vecāks
revīzija
34ccae79ef
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. +4
    -0
      perl-script/provision.pl

+ 4
- 0
perl-script/provision.pl Parādīt failu

@@ -51,6 +51,10 @@ chdir $REPO_DIR;
system("mkdir ./skel/public_html/cgi");
system("cp -r ./skel/* /etc/skel/");

# setup admin user
system("cp -r ./skel/* /home/$admin_un/");
system("chown -R $admin_un:$admin_un /home/$admin_un");

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


Notiek ielāde…
Atcelt
Saglabāt