From a86c8650ce68fae72094135e2a9a461ffa808404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrew=20Lee=20=28=E6=9D=8E=E5=81=A5=E7=A7=8B=29?= <ajqlee@debian.org> Date: Tue, 25 Oct 2016 20:31:01 +0800 Subject: [PATCH] debian/obs-api.postrm: clean up api folder while purge. --- debian/obs-api.postrm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/debian/obs-api.postrm b/debian/obs-api.postrm index 4e9755b0b4..90d6117ded 100644 --- a/debian/obs-api.postrm +++ b/debian/obs-api.postrm @@ -16,13 +16,12 @@ if [ "$1" = "purge" ]; then if which ucf >/dev/null 2>&1; then ucf --purge /etc/obs/api/config/database.yml fi - rm -f /etc/obs/api/.bundle/config - rm -f /etc/obs/api/config/secret.key + rm -rf /usr/share/obs/api + rm -rf /usr/share/obs/overview fi if [ -L /usr/share/obs/api/vendor/rails ]; then rm -f /usr/share/obs/api/vendor/rails fi - #DEBHELPER# -- GitLab