Don't remove gitlab_data_dir in purge

This commit is contained in:
Pirate Praveen 2018-06-13 15:02:39 +05:30
parent 1a48f77018
commit 4a40e0c5d0

View file

@ -85,8 +85,7 @@ case "$1" in
rm -rf ${gitlab_data_dir}/$i; fi
done
fi
for i in ${gitlab_log_dir} ${gitlab_cache_path} ${gitlab_pid_path} \
${gitlab_data_dir}; do
for i in ${gitlab_log_dir} ${gitlab_cache_path} ${gitlab_pid_path}; do
safely_remove $i
done