nimbus-eth2/scripts/package_image/deb_after_purge

10 lines
146 B
Bash

#!/bin/sh
set -e
rm -rf /var/lib/nimbus
if id -u nimbus > /dev/null 2>&1; then
userdel nimbus # userdel will also delete the nimbus group
fi