path error when copying skel

master
cynic 3 years ago
parent 8f242e7749
commit 8469729eea
  1. 2
      tools/init.py

@ -26,7 +26,7 @@ subprocess.run(["mkdir", "/var/cathedral"])
subprocess.run(["git", "clone", "https://github.com/kurisufriend/cathedral", "/var/cathedral"]) subprocess.run(["git", "clone", "https://github.com/kurisufriend/cathedral", "/var/cathedral"])
# * copy new template files to /etc/skel # * copy new template files to /etc/skel
subprocess.run(["cp", "-r", "/var/cathedral/tools/skel/*", "/etc/skel"]) subprocess.run(["cp", "-r", "/var/cathedral/tools/skel/*", "/etc/skel/"])
# * create new cathedral user # * create new cathedral user
subprocess.run(["useradd", "-c", "cathedral", "-M", "-s", "/usr/bin/nologin"]) subprocess.run(["useradd", "-c", "cathedral", "-M", "-s", "/usr/bin/nologin"])

Loading…
Cancel
Save