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/lvm2.preinst
#!/bin/sh

set -e

case "$1" in
    upgrade)
        if dpkg --compare-versions "$2" lt 2.02.122-2; then
            if [ -x "/usr/bin/deb-systemd-helper" ]; then
                deb-systemd-helper purge lvm2-activation.service lvm2-activation-early.service >/dev/null
                deb-systemd-helper unmask lvm2-activation.service lvm2-activation-early.service >/dev/null
            fi
        fi
        if dpkg --compare-versions "$2" lt "2.03.02-3~"; then
            invoke-rc.d lvm2-lvmetad stop || true
        fi
        if dpkg --compare-versions "$2" lt "2.03.16-2~"; then
            invoke-rc.d lvm2 stop || true
            invoke-rc.d lvm2-lvmpolld stop || true
        fi
    ;;
esac

# Automatically added by dh_installdeb/13.14.1ubuntu5
dpkg-maintscript-helper rm_conffile /etc/init.d/lvm2-lvmetad 2.03.02-2\~ -- "$@"
dpkg-maintscript-helper rm_conffile /etc/init.d/lvm2 2.03.16-2\~ -- "$@"
dpkg-maintscript-helper rm_conffile /etc/init.d/lvm2-lvmpolld 2.03.16-2\~ -- "$@"
# End automatically added section


exit 0

https://t.me/RX1948 - 2025