diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-23 08:58:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-23 09:49:38 +0000 |
commit | 52b1fb5af93e3781ff3a719e034fbe15e28162c5 (patch) | |
tree | 147f9f86cd599ab5684e0614daed1b00b56989e0 /main/ntop/ntop.pre-install | |
parent | b2ea3ed7c0c039507b9f13d9330abfb08ba5b00d (diff) | |
download | aports-52b1fb5af93e3781ff3a719e034fbe15e28162c5.tar.bz2 aports-52b1fb5af93e3781ff3a719e034fbe15e28162c5.tar.xz |
main/ntop: rebuild against gdbm-1.10 and set dir permissions properly
We should always set permissions within the apk and not in post-install
since apk-tools keeps track of permissions.
Diffstat (limited to 'main/ntop/ntop.pre-install')
-rwxr-xr-x | main/ntop/ntop.pre-install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/ntop/ntop.pre-install b/main/ntop/ntop.pre-install new file mode 100755 index 0000000000..fdc2803450 --- /dev/null +++ b/main/ntop/ntop.pre-install @@ -0,0 +1,4 @@ +#!/bin/sh +addgroup -S ntop 2>/dev/null +adduser -h /var/lib/ntop -s /bin/false -S -G ntop -H -D ntop 2>/dev/null +exit 0 |