[DRE-commits] [gitlab] 05/05: fix syntax
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon Apr 17 09:58:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository gitlab.
commit 582df940dab6518e22163773485d588594c5b015
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Mon Apr 17 11:08:17 2017 +0530
fix syntax
---
debian/postrm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/postrm b/debian/postrm
index cf629cc..9e9d5d3 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -19,7 +19,7 @@ gitlab_debian_defaults=/var/lib/gitlab/gitlab-debian.defaults
# Read debian specific configuration
if [ -f ${gitlab_debian_conf} ]; then . ${gitlab_debian_conf}; fi
-if [ -f ${gitlab_debian_defaults}; then . ${gitlab_debian_defaults}; fi
+if [ -f ${gitlab_debian_defaults} ]; then . ${gitlab_debian_defaults}; fi
safely_remove() {
CANDIDATE_DIR=$1
@@ -76,7 +76,7 @@ ${gitlab_data_dir}; do
echo "dropdb command not found. Hence not removing database."
fi
echo "Removing user: ${gitlab_user}"
- if [ id -u ${gitlab_user} ]; then userdel -r ${gitlab_user}; fi
+ if id -u ${gitlab_user}; then userdel -r ${gitlab_user}; fi
else
echo "gitlab_user not set. Hence not removing user."
fi
@@ -117,7 +117,7 @@ ${gitlab_tmpfiles} ${gitlab_shell_config}; do
done
# remove generated assets
- if [ -n ${gitlab_data_dir}]; then safely_remove ${gitlab_data_dir}/public/assets; fi
+ if [ -n ${gitlab_data_dir} ]; then safely_remove ${gitlab_data_dir}/public/assets; fi
# Remove private copies of configuration files
rm -f ${nginx_site_private}
--
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