jobcore/mlocate/mlocate.install

8 lines
181 B
Plaintext

post_upgrade() {
if (( $(vercmp $2 0.26.git.20170220-5) < 0 )); then
# fix group and permissions of /var/lib/mlocate
chgrp 21 var/lib/mlocate
chmod 750 var/lib/mlocate
fi
}