From 544cf411e67eb1328e5c383e4a45b28b7c63db96 Mon Sep 17 00:00:00 2001 From: cynic Date: Mon, 31 Oct 2022 21:54:10 -0400 Subject: [PATCH] fix wildcard globbing bug in init script --- tools/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/init.py b/tools/init.py index 857b459..6b5cecb 100644 --- a/tools/init.py +++ b/tools/init.py @@ -26,7 +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(["cp", "-r", "/var/cathedral/tools/skel/*", "/etc/skel/"]) +subprocess.run("cp -r /var/cathedral/tools/skel/* /etc/skel/", shell=True) # * create new cathedral user subprocess.run(["useradd", "-c", "cathedral", "-M", "cathedral"])