Annotation of /trunk/extras/perl-lwp-mediatypes/perl-lwp-mediatypes-6.02-r2.smage2
Parent Directory | Revision Log
Revision 29947 -
(hide annotations)
(download)
Thu Oct 19 10:37:50 2017 UTC (6 years, 6 months ago) by niro
File size: 355 byte(s)
Thu Oct 19 10:37:50 2017 UTC (6 years, 6 months ago) by niro
File size: 355 byte(s)
auto added: ver bump to 6.02-r2
1 | niro | 29947 | # $Id$ |
2 | |||
3 | PNAME="perl-lwp-mediatypes" | ||
4 | PVER="6.02" | ||
5 | PBUILD="r2" | ||
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 | } |