[DRE-commits] [gitlab] 04/09: remove generated assets on purge

Dmitry Smirnov onlyjob at moszumanska.debian.org
Sun Jul 17 18:26:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

onlyjob pushed a commit to branch master
in repository gitlab.

commit 2d30d5d
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Sun Jul 17 17:40:15 2016

    remove generated assets on purge
---
 debian/postrm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/postrm b/debian/postrm
index 3c25b30..e84c2ca 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -74,6 +74,9 @@ case "$1" in
       test -n "${gitlab_shell_config}" && ucfr -purge gitlab ${gitlab_shell_config}
     fi
 
+    # remove generated assets
+    rm -rf /var/lib/gitlab/public/assets
+
        # cleanup complete
     exit 0
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list