Remove locale directory during purge

This commit is contained in:
Pirate Praveen 2018-02-28 23:07:08 +05:30
parent 291eaaa2c8
commit 142716c02b

5
debian/postrm vendored
View file

@ -69,6 +69,11 @@ case "$1" in
${gitlab_data_dir}; do
safely_remove $i
done
# Remove locale directory
echo "Removing: ${gitlab_app_root}/app/assets/javascripts/locale"
safely_remove ${gitlab_app_root}/app/assets/javascripts/locale
if [ ! -z "${gitlab_user}" ]; then
# Do only if gitlab_user is set
if command -v dropdb >/dev/null; then