summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2022-07-17 17:20:19 +0100
committerColin Watson <cjwatson@debian.org>2022-07-17 17:20:19 +0100
commit08c693861ee7dfe02b0bbc29c9a1ccc050bfa771 (patch)
tree7c8b2db9a9e7129f726040c306e122e8bcdc8ecd /debian
parent0e414830cf4a0b5b4cc5e926bc6a2ec6f006792b (diff)
parent999d7e64a4ee5273ba6354a31c84b8e5e8ef3e53 (diff)
Merge remote-tracking branch 'salsa/master'
Diffstat (limited to 'debian')
-rw-r--r--debian/postinst3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/postinst b/debian/postinst
index e9322a6b..bd72d25b 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -19,8 +19,7 @@ run_mandb () {
shift
[ "$message" ] && echo "$message" >&2
# start-stop-daemon isn't available when running from debootstrap.
- perl -e '@pwd = getpwnam("man"); $) = $( = $pwd[3]; $> = $< = $pwd[2];
- exec "/usr/bin/mandb", @ARGV' -- "$@" || true
+ setpriv --reuid man --regid man --init-groups -- /usr/bin/mandb "$@" || true
}
if [ "$1" = triggered ]; then