HEX
Server: Apache/2.4.65 (Debian)
System: Linux wordpress-7cb4c6b6f6-hg958 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: www-data (33)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: /var/www/html/wp-admin/ALFA_DATA/alfasymlink/root/var/lib/dpkg/info/init-system-helpers.postinst
#!/bin/sh

set -e

# begin-remove-after: released:forky
# Workaround for live-build issue #1111039 which affects some rootfs
# installed by the installer flavor that copies the livefs onto the rootfs
# instead of bootstrapping from packages
if [ "$1" = "configure" ] && [ -n "$2" ] && dpkg-divert --list /etc/os-release | grep -q os-release.debootstrap; then
    dpkg-divert --quiet --local --remove --no-rename /etc/os-release
    rm -f /etc/os-release
    ln -s ../usr/lib/os-release /etc/os-release
fi
# end-remove-after