Sha256: ef0e731dd3e3d58d0dc20987a1669930a52c64140a00d9f4e904b05b960c73e7
Contents?: true
Size: 601 Bytes
Versions: 10
Compression:
Stored size: 601 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 DEBUG_TRACE=/dev/tty else DEBUG_TRACE=/dev/null fi
Version data entries
10 entries across 10 versions & 1 rubygems