Commit graph

30 commits

Author SHA1 Message Date
Praveen Arimbrathodiyil
54f0d8896a use -- sh -c for runuser 2017-04-21 15:03:54 +05:30
Praveen Arimbrathodiyil
993946077e switch to using runuser from su 2017-04-21 13:50:40 +05:30
Praveen Arimbrathodiyil
51514c0001 change template name to purge_data 2017-04-21 13:39:50 +05:30
Praveen Arimbrathodiyil
582df940da fix syntax 2017-04-17 14:38:24 +05:30
Praveen Arimbrathodiyil
8ed3768bb3 check varibales are defined before using them 2017-04-17 11:05:50 +05:30
Praveen Arimbrathodiyil
a99872e5ec make postrm idempotent 2017-04-17 10:09:55 +05:30
Praveen Arimbrathodiyil
33eb420ac6 be more defensive in rm -rf 2017-03-23 17:16:26 +05:30
Praveen Arimbrathodiyil
f92b012a7a don't fail if defaults file is not found 2017-03-23 17:01:41 +05:30
Praveen Arimbrathodiyil
4a4a221846 use source and export only required variables 2017-03-17 22:27:14 +05:30
Praveen Arimbrathodiyil
e154dc50b8 use command -v instead of test -x 2017-03-14 17:27:22 +05:30
Praveen Arimbrathodiyil
1cdb908f64 move path setting used only in post* outside /etc 2017-03-13 14:33:48 +05:30
Praveen Arimbrathodiyil
1b59512170 improve echo wording 2017-02-24 14:46:32 +05:30
Praveen Arimbrathodiyil
8b09472f29 fix userdel 2017-02-24 14:33:51 +05:30
Balasankar C
ac1dd4c0e1 Fix problems with gitlab_user not set 2017-02-24 13:05:34 +05:30
Balasankar C
c160045850
Check for gitlab_user before trying to delete 2017-02-24 11:30:24 +05:30
Balasankar C
996abf57ec
Remove db only if command is available 2017-02-22 12:02:43 +05:30
Praveen Arimbrathodiyil
51aefea655 remove /etc/gitlab/ssl 2017-02-20 18:54:43 +05:30
Praveen Arimbrathodiyil
d9a8b7a138 set gitlab_user default value in postrm 2017-02-20 18:12:03 +05:30
Praveen Arimbrathodiyil
3da5397ff6 check if db exist before dropping 2017-02-20 18:06:31 +05:30
Praveen Arimbrathodiyil
76f03adf07 use id -u 2017-02-20 18:02:42 +05:30
Praveen Arimbrathodiyil
00cbdaf00c remove gitlab user only if exist 2017-02-20 17:23:37 +05:30
Praveen Arimbrathodiyil
a93ae2eb50 remove hard coded gitlab user 2017-02-16 17:35:01 +05:30
Praveen Arimbrathodiyil
f1432c8088 remove all data during purge after user confirmation 2017-02-16 15:53:38 +05:30
Praveen Arimbrathodiyil
4d062a0ae9 purge tmpfiles 2017-02-15 13:41:22 +05:30
Dmitry Smirnov
2d30d5dc0f remove generated assets on purge 2016-07-18 03:40:15 +10:00
Praveen Arimbrathodiyil
e23803cc48 fix path and remove on purge 2016-06-03 22:11:46 +05:30
Praveen Arimbrathodiyil
7631d53536 echos should go after debconf init 2016-06-03 18:10:06 +05:30
Praveen Arimbrathodiyil
9da14d2ba5 remove debconf questions on purge 2016-06-03 15:38:06 +05:30
Praveen Arimbrathodiyil
1a0b49fe08 add exit 0 for purge 2016-04-08 17:29:17 +05:30
Praveen Arimbrathodiyil
39a2bfd88a make nginx optional, use ucf for conf files 2016-04-08 17:00:57 +05:30