| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
set -e
# Manual dir_to_symlink conversion since dpkg-maintscript-helper does not
# handle this in combination with arch:all to arch:any switches (#813455).
# Keep this code for buster and bullseye to ease backports.
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "1:26.1+1-3.1~"
then
test -n 'emacs-nox'
if [ -d /usr/share/doc/emacs-nox ] && [ ! -h /usr/share/doc/emacs-nox ]
then
# This will intentionally fail if the directory is not empty.
rmdir /usr/share/doc/emacs-nox
ln -sv emacs-common /usr/share/doc/emacs-nox
fi
fi
update-alternatives \
--install /usr/bin/emacs emacs \
/usr/bin/emacs-nox 28 \
--slave /usr/share/man/man1/emacs.1.gz emacs.1.gz \
/usr/share/man/man1/emacs.emacs.1.gz \
update-alternatives \
--install /usr/bin/editor editor \
/usr/bin/emacs 0 \
--slave /usr/share/man/man1/editor.1.gz editor.1.gz \
/usr/share/man/man1/emacs.emacs.1.gz
# emacsen-common registration.
/usr/lib/emacsen-common/emacs-install emacs