Shadow-Here


Server : Apache
System : Linux methusalix2 3.16.0-11-amd64 #1 SMP Debian 3.16.84-1 (2020-06-09) x86_64
User : hios ( 1437)
PHP Version : 5.6.40-0+deb8u12
Disable Function : proc_close,proc_open,dl,shell_exec,passthru
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :
Current File : //var/lib/dpkg/info/groff-base.preinst
#! /bin/sh
set -e

case $1 in
    install|upgrade)
	if dpkg --compare-versions "$2" lt 1.17-2; then
	    if [ -d /usr/share/groff/site-tmac ]; then
		if [ -d /etc/groff ]; then
		    # Erm. This shouldn't happen.
		    echo "Moving /usr/share/groff/site-tmac out of the way."
		    mv -f /usr/share/groff/site-tmac \
			  /usr/share/groff/site-tmac.old
		else
		    echo "Moving /usr/share/groff/site-tmac to /etc/groff."
		    mv -f /usr/share/groff/site-tmac /etc/groff
		    touch /usr/share/groff/site-tmac.moved-by-preinst
		fi
	    fi
	    if [ -e /etc/tmac.man.local ]; then
		echo "Moving /etc/tmac.man.local to /etc/groff/man.local."
		mkdir -p /etc/groff
		mv -f /etc/tmac.man.local /etc/groff/man.local
		touch /etc/tmac.man.local.moved-by-preinst
	    fi
	fi
	;;
esac



exit 0

Samx