Commit 91776c6f01b20ef06f42d5a27643d9b1ca1f15bc
1 parent
79754ff9
Exists in
master
and in
79 other branches
gitlab: don't touch database on removal
Showing
1 changed file
with
0 additions
and
6 deletions
Show diff stats
gitlab.spec
... | ... | @@ -136,13 +136,7 @@ sed -i 's/app_root="\/home\/\$app_user\/gitlab"/app_root="\/usr\/lib\/gitlab"/' |
136 | 136 | sed -i 's/\/home\/\git/\/usr\/lib/' /etc/logrotate.d/gitlab |
137 | 137 | |
138 | 138 | %postun |
139 | -#TODO Remove | |
140 | 139 | service gitlab stop |
141 | -sudo -u postgres psql -d template1 << EOF | |
142 | -DROP DATABASE gitlabhq_production; | |
143 | -DROP USER git; | |
144 | -\q | |
145 | -EOF | |
146 | 140 | |
147 | 141 | %files |
148 | 142 | /usr/lib/gitlab | ... | ... |