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
|
||||
mkdir -p "$1/var/lib/man-db"
|
||||
echo "false" > "$1/var/lib/man-db/auto-update"
|
||||
#!/bin/bash
|
||||
rm -rf "$1/usr/share/doc"
|
||||
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