HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/lib/dpkg/info/installation-report.postinst
#!/bin/sh
set -e


if [ "$1" = configure ] && dpkg --compare-versions "$2" lt 2.13; then
	for file in /var/log/installer/cdebconf/*.dat \
		/var/log/installer/syslog /var/log/installer/messages \
		/var/log/installer/partman; do
		if [ -e "$file" ]; then
			chmod 600 $file
		fi
	done
fi

if [ "$1" = configure ] && dpkg --compare-versions "$2" lt 2.32; then
	update-rc.d installation-report remove
fi