Remove locale directory during purge
This commit is contained in:
parent
291eaaa2c8
commit
142716c02b
1 changed files with 5 additions and 0 deletions
5
debian/postrm
vendored
5
debian/postrm
vendored
|
@ -69,6 +69,11 @@ case "$1" in
|
||||||
${gitlab_data_dir}; do
|
${gitlab_data_dir}; do
|
||||||
safely_remove $i
|
safely_remove $i
|
||||||
done
|
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
|
if [ ! -z "${gitlab_user}" ]; then
|
||||||
# Do only if gitlab_user is set
|
# Do only if gitlab_user is set
|
||||||
if command -v dropdb >/dev/null; then
|
if command -v dropdb >/dev/null; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue