File: postrm

package info (click to toggle)
apt-listdifferences 1.20161219
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 148 kB
  • sloc: python: 118; sh: 18; makefile: 11
file content (14 lines) | stat: -rw-r--r-- 254 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

if [ "$1" = "purge" ]; then
    db_input high apt-listdifferences/purge || true
    db_go
    db_get apt-listdifferences/purge
    test "$RET" = "false" || rm -rf /var/cache/apt/sources
fi

#DEBHELPER#