begin to create first type: file

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-01-18 21:17:20 +01:00
parent f122acd742
commit b81b19d126
4 changed files with 13 additions and 0 deletions

View file

View file

13
lib/types/file/manifest Normal file
View file

@ -0,0 +1,13 @@
#!/bin/sh
case "$__arg_type" in
directory)
if [ "$__arg_mode" ]; then
echo mkdir -m \"$__arg_mode\" \"$__arg_path\"
else
echo mkdir \"$__arg_path\"
fi
;;
esac

View file