Update disable-mandb

This commit is contained in:
Fierelier 2023-03-28 23:28:39 +02:00
parent 4f16cce992
commit f2d4948f8d
4 changed files with 15 additions and 3 deletions

1
modlists/shrink-nodocs Normal file
View File

@ -0,0 +1 @@
disable-mandb

View File

@ -0,0 +1,3 @@
Package: man-db
Pin: release *
Pin-Priority: -1

View 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/*

View File

@ -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"