github.com/ethersphere/bee/v2@v2.2.0/packaging/rpm/postun (about)

     1  if [ $1 -eq 0 ] ; then
     2      # Package removal, not upgrade
     3      userdel -r bee &>/dev/null || :
     4  fi