File: mlocate.postrm

package info (click to toggle)
mlocate 0.26-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,112 kB
  • sloc: ansic: 10,201; sh: 9,898; makefile: 82; sed: 16
file content (10 lines) | stat: -rw-r--r-- 159 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#! /bin/sh

set -e

if [ "$1" = "purge" ]; then
    rm -rf "/var/lib/mlocate"
    dpkg-statoverride --remove /usr/bin/mlocate || test $? -eq 2
fi

#DEBHELPER#