summaryrefslogtreecommitdiff
path: root/community/oprofile/oprofile.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/oprofile/oprofile.install
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/oprofile/oprofile.install')
-rw-r--r--community/oprofile/oprofile.install21
1 files changed, 0 insertions, 21 deletions
diff --git a/community/oprofile/oprofile.install b/community/oprofile/oprofile.install
deleted file mode 100644
index 5cd3e7e22..000000000
--- a/community/oprofile/oprofile.install
+++ /dev/null
@@ -1,21 +0,0 @@
-post_install(){
- groupadd -g 492 oprofile &>/dev/null
- useradd -u 492 -g oprofile -d /var/lib/oprofile -s /bin/false oprofile &>/dev/null
-}
-
-post_upgrade(){
- getent group oprofile >/dev/null 2>&1 || groupadd -g 492 oprofile &>/dev/null
- getent passwd oprofile >/dev/null 2>&1 || useradd -u 492 -g oprofile -d /var/lib/oprofile -s /bin/false oprofile &>/dev/null
- if [ "$(vercmp $2 0.9.7-2)" -lt 0 ] ; then
- usermod -d /var/lib/oprofile oprofile
- fi
-}
-
-post_remove(){
- if getent passwd oprofile >/dev/null 2>&1; then
- userdel oprofile
- fi
- if getent group oprofile >/dev/null 2>&1; then
- groupdel oprofile
- fi
-}