diff options
-rwxr-xr-x | bosun | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -27,29 +27,21 @@ need_role() { done } -need_root() { - test "$(id -u)" -eq 0 || errx "this action requires superuser access" -} - add() { - need_root need_role "$@" stow -S "$@" } remove() { - need_root need_role "$@" stow -D "$@" } flush() { - need_root list | xargs -- stow -D } rebuild() { - need_root if test $# -gt 0; then need_role "$@" stow -R "$@" |