set dotglob so * catches hidden files

master
cynic 3 years ago
parent a557ddeb35
commit 30a9c83dd7
  1. 1
      tools/init.py

@ -26,6 +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(["shopt", "-s", "dotglob"])
subprocess.run("cp -r /var/cathedral/tools/skel/* /etc/skel/", shell=True) subprocess.run("cp -r /var/cathedral/tools/skel/* /etc/skel/", shell=True)
# * create new cathedral user # * create new cathedral user

Loading…
Cancel
Save