cfgfoo

git clone https://orangeshoelaces.net/git/cfgfoo.git

6b2c3ec4fde7bb45602a909231e59c32904f15c0

Author: Vasilii Kolobkov on 12/24/2018

Committer: Vasilii Kolobkov on 12/24/2018

Change file modes

Stats

aliases        | 1 +
steps/fs/chmod | 7 +++++++
2 files changed, 8 insertions(+)

Patch

diff --git a/aliases b/aliases
index b05e10d..994599d 100644
--- a/aliases
+++ b/aliases
@@ -9,6 +9,7 @@ alias edit_appendfln="cfgfoo ${CFGFOOPATH}/steps/edit/appendfln -s "
 alias edit_overrideln="cfgfoo ${CFGFOOPATH}/steps/edit/overrideln -s "
 
 alias fs_checkf="cfgfoo ${CFGFOOPATH}/steps/fs/checkf "
+alias fs_chmod="cfgfoo ${CFGFOOPATH}/steps/fs/chmod "
 alias fs_install="cfgfoo ${CFGFOOPATH}/steps/fs/install -s "
 alias fs_mkdir="cfgfoo ${CFGFOOPATH}/steps/fs/mkdir "
 
diff --git a/steps/fs/chmod b/steps/fs/chmod
new file mode 100644
index 0000000..ddc7433
--- /dev/null
+++ b/steps/fs/chmod
@@ -0,0 +1,7 @@
+step_taken() {
+	false
+}
+
+take_step() {
+	chmod "$1" "$2"
+}