https://t.me/RX1948
Server : nginx/1.24.0
System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/lib/dpkg/info/systemd-sysv.postinst
#!/bin/sh

set -e

# begin-remove-after: released:trixie
if [ "$1" = "configure" ]; then
	for n in halt poweroff shutdown; do
		fn=$(dpkg-divert --truename "/usr/sbin/$n")
		if ! test -h "$fn"; then
			if test "$fn" = "/usr/sbin/$n"; then
				echo "/usr/sbin/$n vanished in /usr-merge upgrade. Restoring."
			else
				echo "/usr/sbin/$n (diverted to $fn) vanished in /usr-merge upgrade. Restoring."
			fi
			ln -sf ../bin/systemctl "$fn"
		fi
	done
fi
# end-remove-after

# update grub on first install, so that the alternative init system boot
# entries get updated
if [ "$1" = configure ] && [ -z "$2" ] && [ -e /boot/grub/grub.cfg ] && command -v update-grub >/dev/null; then
    update-grub || true
fi



https://t.me/RX1948 - 2025