From 30a9c83dd753065042491d11d32b6d29841a11b6 Mon Sep 17 00:00:00 2001 From: cynic Date: Sun, 6 Nov 2022 01:20:55 -0400 Subject: [PATCH] set dotglob so * catches hidden files --- tools/init.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/init.py b/tools/init.py index 6b5cecb..bfcad9c 100644 --- a/tools/init.py +++ b/tools/init.py @@ -26,6 +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"]) subprocess.run("cp -r /var/cathedral/tools/skel/* /etc/skel/", shell=True) # * create new cathedral user