Commit b19efed5 authored by Andrew Lee (李健秋)'s avatar Andrew Lee (李健秋)
Browse files

Run commands when purge instead of remove. (Closes: #847688)

parent 571ecd36
#!/bin/sh -e #!/bin/sh -e
if [ "$1" = "remove" ]; then if [ "$1" = "purge" ]; then
invoke-rc.d obsworker stop || true invoke-rc.d obsworker stop || true
deluser --system --quiet obsworker deluser --system --quiet obsworker
delgroup --system --quiet obsworker delgroup --system --quiet obsworker
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment