Navigation Menu

Skip to content

Commit

Permalink
deb: remove log directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 15, 2012
1 parent d860bf0 commit 640621a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/debian/gcs.postrm
Expand Up @@ -3,10 +3,12 @@
set -e

if [ "$1" = "purge" ]; then
rm -f /var/run/gcs/*
dpkg-statoverride --remove /var/run/gcs
rm -rf /var/lib/gcs/*
dpkg-statoverride --remove /var/lib/gcs
rm -rf /var/log/gcs/*
dpkg-statoverride --remove /var/log/gcs
rm -f /var/run/gcs/*
dpkg-statoverride --remove /var/run/gcs

if getent passwd gcs >/dev/null; then
deluser --system --remove-all-files gcs
Expand Down

0 comments on commit 640621a

Please sign in to comment.