File: postrm

package info (click to toggle)
google-android-sdk-docs-installer 24%2Br3
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm, bullseye
  • size: 152 kB
  • sloc: sh: 84; makefile: 65
file content (23 lines) | stat: -rw-r--r-- 416 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -e

#echo "google-android-build-tools postrm: $@"

if [ "$1" = "purge" ]
then
	rm -rf /var/cache/google-android-sdk-docs-installer
	if [ -e /usr/share/debconf/confmodule ]
	then
		# Source debconf library.
		. /usr/share/debconf/confmodule
		# Unregister the package
		if db_get google-android-installers/mirror; then
			db_unregister google-android-installers/mirror
		fi
	fi
fi

#DEBHELPER#

exit 0