HEX
Server: Apache/2.4.62 (Debian)
System: Linux MIA-VPS-VM01781 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
User: webmaster (1001)
PHP: 8.2.29
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/lib/dpkg/info/joe.postinst
#!/bin/sh -e

if [ "$1" = "configure" ]; then

  update-alternatives --install /usr/bin/editor editor /usr/bin/joe 70 \
    --slave /var/lib/misc/editorrc editorrc /etc/joe/joerc \
    --slave /usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/joe.1.gz
  update-alternatives --install /usr/bin/editor editor /usr/bin/jmacs 50 \
    --slave /var/lib/misc/editorrc editorrc /etc/joe/jmacsrc \
    --slave /usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/jmacs.1.gz
  update-alternatives --install /usr/bin/editor editor /usr/bin/jstar 50 \
    --slave /var/lib/misc/editorrc editorrc /etc/joe/jstarrc \
    --slave /usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/jstar.1.gz
  update-alternatives --install /usr/bin/editor editor /usr/bin/jpico 50 \
    --slave /var/lib/misc/editorrc editorrc /etc/joe/jpicorc \
    --slave /usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/jpico.1.gz
  update-alternatives --install /usr/bin/editor editor /usr/bin/rjoe 25 \
    --slave /var/lib/misc/editorrc editorrc /etc/joe/rjoerc \
    --slave /usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/rjoe.1.gz

  if test -z "$2" || dpkg --compare-versions "$2" lt '3.7-2.3~'; then
    rm -f /etc/joe/editorrc
    ln -sf ../../var/lib/misc/editorrc /etc/joe/editorrc
  fi

  if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi

fi