File: post_setup_minimize

package info (click to toggle)
piuparts 1.6.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 72,532 kB
  • sloc: python: 8,240; sh: 4,367; makefile: 171
file content (15 lines) | stat: -rwxr-xr-x 237 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

# only while creating the tarball
if [ "${PIUPARTS_OBJECTS%%=*}" = "TARBALL" ]
then
	case $PIUPARTS_DISTRIBUTION in
		jessie)
			dpkg --purge gcc-4.8-base
			;;
		stretch)
			dpkg --purge lsb-base tzdata
			;;
	esac
fi