Update disable-mandb
This commit is contained in:
parent
4f16cce992
commit
f2d4948f8d
1
modlists/shrink-nodocs
Normal file
1
modlists/shrink-nodocs
Normal file
@ -0,0 +1 @@
|
|||||||
|
disable-mandb
|
@ -0,0 +1,3 @@
|
|||||||
|
Package: man-db
|
||||||
|
Pin: release *
|
||||||
|
Pin-Priority: -1
|
5
mods/disable-mandb/data/etc/dpkg/dpkg.cfg.d/nodoc
Normal file
5
mods/disable-mandb/data/etc/dpkg/dpkg.cfg.d/nodoc
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
path-exclude /usr/share/doc/*
|
||||||
|
path-exclude /usr/share/man/*
|
||||||
|
path-exclude /usr/share/groff/*
|
||||||
|
path-exclude /usr/share/info/*
|
||||||
|
path-exclude /usr/share/lintian/*
|
@ -1,3 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
mkdir -p "$1/var/lib/man-db"
|
rm -rf "$1/usr/share/doc"
|
||||||
echo "false" > "$1/var/lib/man-db/auto-update"
|
rm -rf "$1/usr/share/man"
|
||||||
|
rm -rf "$1/usr/share/groff"
|
||||||
|
rm -rf "$1/usr/share/info"
|
||||||
|
rm -rf "$1/usr/share/lintian"
|
Loading…
Reference in New Issue
Block a user