K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / lib / dpkg / info /
server ip : 172.67.156.115

your ip : 172.70.130.176

H O M E


Filename/var/lib/dpkg/info/mlocate.postinst
Size628
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:55
Last modified20-Jun-2013 23:27
Last accessed06-Jul-2025 23:16
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#! /bin/sh

set -e

GROUP="mlocate"

if [ "$1" = "configure" ]; then
update-alternatives --install /usr/bin/locate locate /usr/bin/mlocate 80 \
--slave /usr/share/man/man1/locate.1.gz locate.1.gz /usr/share/man/man1/mlocate.1.gz \
--slave /usr/bin/updatedb updatedb /usr/bin/updatedb.mlocate

if ! sg "$GROUP" true 2>/dev/null; then
addgroup --system "$GROUP"
fi

if ! dpkg-statoverride --list /usr/bin/mlocate >/dev/null 2>&1; then
dpkg-statoverride --update --add root "$GROUP" 2755 /usr/bin/mlocate
fi
fi

# Obsolete file, this can be dropped post-jessie.
rm -f /var/lib/mlocate/daily.lock