1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-23 07:23:40 +00:00
scrapy/debian/scrapyd.postrm

18 lines
272 B
Bash

#!/bin/sh
set -e
if [ purge = "$1" ]; then
if [ -x "$(command -v deluser)" ]; then
deluser --quiet --system scrapy > /dev/null || true
else
echo >&2 "not removing scrapy system account because deluser command was not found"
fi
fi
#DEBHELPER#
exit 0