use maintscript helper to remove conffile

This commit is contained in:
Praveen Arimbrathodiyil 2016-06-19 17:35:30 +05:30
parent 17de5f1790
commit 18ccf5e5b8

View file

@ -20,7 +20,8 @@ if ! [ -f "${gitlab_app_root}/config/secrets.yml" ]; then
fi
# Remove config files (already removed by upstream)
rm -rf /etc/gitlab/initializers/devise_async.rb
dpkg-maintscript-helper rm_conffile \
/etc/gitlab/initializers/devise_async.rb 8.8.2+dfsg-5 gitlab -- "$@"
# Check if the db is already present
if [ "$(LANG=C su postgres -c "psql gitlab_production -c \"\d\"")" = \