Contents of /trunk/extras/perl-lwp-mediatypes/perl-lwp-mediatypes-6.02-r3.smage2
Parent Directory | Revision Log
Revision 31016 -
(show annotations)
(download)
Tue May 29 10:01:28 2018 UTC (6 years, 4 months ago) by niro
File size: 355 byte(s)
Tue May 29 10:01:28 2018 UTC (6 years, 4 months ago) by niro
File size: 355 byte(s)
auto added: ver bump to 6.02-r3
1 | # $Id$ |
2 | |
3 | PNAME="perl-lwp-mediatypes" |
4 | PVER="6.02" |
5 | PBUILD="r3" |
6 | |
7 | DESCRIPTION="Guess the media type of a file or a URL." |
8 | |
9 | CPAN_MODULE=LWP-MediaTypes |
10 | CPAN_AUTHOR=GAAS |
11 | sminclude cpan |
12 | |
13 | postinstall() |
14 | { |
15 | _PNAME=lwp-mediatypes |
16 | |
17 | if [[ ! -z $(magequery -n ${_PNAME}) ]] |
18 | then |
19 | echo "Uninstalling deprecated package '${_PNAME}'..." |
20 | mage uninstall "${_PNAME}" |
21 | fi |
22 | } |