diff --git a/tools/init.py b/tools/init.py index 4f19903..0c477d7 100644 --- a/tools/init.py +++ b/tools/init.py @@ -26,8 +26,7 @@ subprocess.run(["mkdir", "/var/cathedral"]) subprocess.run(["git", "clone", "https://github.com/kurisufriend/cathedral", "/var/cathedral"]) # * copy new template files to /etc/skel -subprocess.run("shopt -s dotglob", shell=True, executable="/bin/bash") -subprocess.run("cp -r /var/cathedral/tools/skel/* /etc/skel/", shell=True, executable="/bin/bash") +subprocess.run("shopt -s dotglob && cp -r /var/cathedral/tools/skel/* /etc/skel/", shell=True, executable="/bin/bash") # * create new cathedral user subprocess.run(["useradd", "-c", "cathedral", "-M", "cathedral"])