HEX
Server: Apache
System: Linux vps37023 6.8.0-83-generic #83~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 9 18:19:47 UTC 2 x86_64
User: alternativsm (5771646)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/snmp.preinst
#!/bin/sh

set -e

case "$1" in

    install|upgrade)
      if [ -L /usr/share/doc/snmp ]; then
          rm -f /usr/share/doc/snmp
      fi

      rm -rf /usr/doc/snmp || true
    ;;

    abort-upgrade)
    ;;

    *)
      echo "preinst called with unknown argument \`$1'" >&2
      exit 1
    ;;

esac



exit 0