Commit 91776c6f01b20ef06f42d5a27643d9b1ca1f15bc
1 parent
79754ff9
Exists in
r5_design
and in
1 other branch
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,13 +136,7 @@ sed -i 's/app_root="\/home\/\$app_user\/gitlab"/app_root="\/usr\/lib\/gitlab"/' | ||
136 | sed -i 's/\/home\/\git/\/usr\/lib/' /etc/logrotate.d/gitlab | 136 | sed -i 's/\/home\/\git/\/usr\/lib/' /etc/logrotate.d/gitlab |
137 | 137 | ||
138 | %postun | 138 | %postun |
139 | -#TODO Remove | ||
140 | service gitlab stop | 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 | %files | 141 | %files |
148 | /usr/lib/gitlab | 142 | /usr/lib/gitlab |