diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils | 29 |
1 files changed, 0 insertions, 29 deletions
@@ -1,29 +0,0 @@ -# vim: ft=sh - -die() { - kill $$ -} - -inst_f() { - if [ -f "$2" ]; then - else - mkdir "$(basedir "$2")" - echo "New file: $1 -> $2" - fi -} - -inst_d() { - # TODO - true -} - -inst() { - if [ -f "$1" ]; then - inst_f "$1" "$2" - elif [ -d "$1" ]; then - inst_d "$1" "$2" - else - echo "Unsupported install target type of: $1" - die - fi -} |