Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / var / lib / dpkg / info / | server ip : 104.21.89.46 your ip : 172.70.80.31 H O M E |
Filename | /var/lib/dpkg/info/groff-base.preinst |
Size | 790 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:55 |
Last modified | 23-Jan-2014 01:12 |
Last accessed | 06-Jul-2025 22:16 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#! /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
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