Sha256: bcecedb0a93c53103261d6749ada5ab90f7d8958f79e24a34b365d1b4629be64
Contents?: true
Size: 550 Bytes
Versions: 1
Compression:
Stored size: 550 Bytes
Contents
#!/bin/sh has_app() { hash $1 2>/dev/null } delete_group() { if has_app groupdel; then groupdel $1 elif has_app delgroup; then delgroup $1 else echo Failed to delete a group, no supported group management utils found exit 1 fi } delete_user() { if has_app userdel; then userdel $1 elif has_app deluser; then deluser $1 else echo Failed to delete a user, no supported user management utils found exit 1 fi } if test "x${REBUILD_TRACE}" == "x1"; then set -x echo Bootstrap tracing enabled fi
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rbld-1.0.1 | cli/lib/bootstrap/re-build-bootstrap-utils |