K2LL33D SHELL

 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 : 172.67.156.115

your ip : 172.70.80.63

H O M E


Filename/var/lib/dpkg/info/bsdmainutils.postinst
Size776
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:55
Last modified04-Jun-2013 21:11
Last accessed07-Jul-2025 00:23
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh

set -e

if [ -f /usr/lib/calendar/default ]; then
mv -f /usr/lib/calendar/default /etc/calendar/default.old

# don't kill installation if directory can't be removed
rmdir /usr/lib/calendar 2>/dev/null || true
fi

# handle name change of cron script
if [ -f /etc/cron.daily/calendar ]; then
mv -f /etc/cron.daily/calendar /etc/cron.daily/bsdmainutils
fi

if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
update-alternatives \
--install /usr/bin/write write /usr/bin/bsd-write 100 \
--slave /usr/share/man/man1/write.1.gz write.1.gz /usr/share/man/man1/bsd-write.1.gz

update-alternatives \
--install /usr/bin/from from /usr/bin/bsd-from 10 \
--slave /usr/share/man/man1/from.1.gz from.1.gz /usr/share/man/man1/bsd-from.1.gz
fi