HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: /var/lib/dpkg/info/aptitude.postinst
#!/bin/sh

# aptitude needs the apt xapian index stuff now, so make sure it at
# least exists.

set -e

mandir=/usr/share/man

if [ "$1" = "configure" ]
then
  slaves="--slave $mandir/man8/aptitude.8.gz aptitude.8.gz $mandir/man8/aptitude-curses.8.gz"
  for lang in cs de es fi fr gl it ja pl ; do
    slaves="$slaves --slave $mandir/$lang/man8/aptitude.8.gz aptitude.$lang.8.gz $mandir/$lang/man8/aptitude-curses.8.gz"
  done
  update-alternatives \
    --install /usr/bin/aptitude aptitude /usr/bin/aptitude-curses 30 $slaves
fi

# Automatically added by dh_installmenu/13.3.3
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
	update-menus
fi
# End automatically added section