diff options
author | Julian T <julian@jtle.dk> | 2019-07-14 21:24:11 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2019-07-14 21:29:14 +0200 |
commit | c09dceb3997ef3e581a442ca9416e886cbeef304 (patch) | |
tree | 8ea65ddfeb5c0623be92dccddf6de3e8c89dce2d /stows | |
parent | cf26b4ffe9745b2c758ff2e65da328a10885e608 (diff) |
Replaced initFolders with setupscript system
Diffstat (limited to 'stows')
-rwxr-xr-x | stows | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -0,0 +1,22 @@ +#!/bin/bash + +flags="" + +# Allow for flags into the setup things +while test $# != 0 +do + case "$1" in + -D) + # Collect flag + flags="$flags -D" ;; + *) + # Run pre + sh "./$1/#pre_stow.sh#" $flags + # Run stow + stow $flags $1 + # Run post + sh "./$1/#post_stow.sh#" $flags ;; + esac + shift +done + |