| Server IP : 81.2.241.106 / Your IP : 216.73.216.165 Web Server : Apache/2.4.67 (Debian) System : Linux tranq-f.bakta.org 5.10.0-45-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64 User : lisky ( 1002) PHP Version : 7.4.33 Disable Function : 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, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
set -e
case "$1" in
configure)
update-alternatives --quiet --install /usr/bin/pager pager \
/usr/bin/w3m 25 \
--slave /usr/share/man/man1/pager.1.gz pager.1.gz \
/usr/share/man/man1/w3m.1.gz
update-alternatives --quiet --install /usr/bin/www-browser www-browser \
/usr/bin/w3m 25 \
--slave /usr/share/man/man1/www-browser.1.gz www-browser.1.gz \
/usr/share/man/man1/w3m.1.gz
# upgrade old config file to new config file
if test -e /etc/w3m/w3mconfig; then
mv -f /etc/w3m/w3mconfig /etc/w3m/w3mconfig.dpkg-tmp
tmp=$(tempfile -p w3m.subst.)
trap "rm -f $tmp" 0
while read opt val
do
val0=$(sed -ne 's/^'$opt'[[:space:]]*//p' /etc/w3m/w3mconfig.dpkg-tmp)
if [ "$val0" != "" ] && [ "$val" != "$val0" ]; then
echo 's/^'$opt'[[:space:]]*.*/'$opt' '$val0'/' >> $tmp
fi
done < /etc/w3m/config
if test -s $tmp; then
mv -f /etc/w3m/config /etc/w3m/config.dpkg-tmp
sed -f $tmp /etc/w3m/config.dpkg-tmp > /etc/w3m/config
rm -f $tmp
rm -f /etc/w3m/config.dpkg-tmp
fi
rm -f /etc/w3m/w3mconfig /etc/w3m/w3mconfig.dpkg-tmp
fi
;;
*)
esac
# Automatically added by dh_installmenu/13.3.4
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
fi
# End automatically added section
# Automatically added by dh_installdeb/13.3.4
dpkg-maintscript-helper rm_conffile /etc/w3m/w3mconfig 0.4.2-2\~ w3m -- "$@"
# End automatically added section