Sindbad~EG File Manager
Current Path : /var/lib/dpkg/info/ |
|
Current File : /var/lib/dpkg/info/perl.postinst |
#!/bin/sh -e
if [ "$1" = configure ]
then
# The 5.6.0 packages had /usr/share/doc/perl as a symlink to
# perl-base, now the reverse.
docs=/usr/share/doc
if [ -L $docs/perl ] && [ ! -L $docs/perl-base ] && [ -d $docs/perl-base ]
then
rm -f $docs/perl
mv $docs/perl-base $docs/perl
ln -s perl $docs/perl-base
fi
# rename (and prename) is now only provided by the rename package
update-alternatives --remove rename /usr/bin/prename
if which dpkg-trigger >/dev/null 2>&1 && \
[ -n "$2" ] && \
dpkg --compare-versions "$2" lt 5.26.0~
then
dpkg-trigger --no-await perl-major-upgrade
fi
fi
dpkg-maintscript-helper rm_conffile \
/etc/perl/sitecustomize.pl 5.26.0~rc1-2~ perl -- "$@"
exit 0
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists