diff options
Diffstat (limited to 'extra/beagle/beagle.install')
-rw-r--r-- | extra/beagle/beagle.install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/beagle/beagle.install b/extra/beagle/beagle.install new file mode 100644 index 000000000..bfc90ecd1 --- /dev/null +++ b/extra/beagle/beagle.install @@ -0,0 +1,8 @@ +post_install() { + getent group beaglidx >/dev/null || usr/sbin/groupadd -g 86 beaglidx + getent passwd beaglidx >/dev/null || usr/sbin/useradd -c 'User for Beagle indexing' -u 86 -g beaglidx -d '/' -s /bin/false beaglidx +} + +post_upgrade() { + post_install $1 +} |