Annotation of /trunk/extras/perl-lwp-mediatypes/perl-lwp-mediatypes-6.02-r4.smage2
Parent Directory | Revision Log
Revision 31640 -
(hide annotations)
(download)
Wed Dec 5 09:03:13 2018 UTC (5 years, 9 months ago) by niro
File size: 355 byte(s)
Wed Dec 5 09:03:13 2018 UTC (5 years, 9 months ago) by niro
File size: 355 byte(s)
auto added: ver bump to 6.02-r4
1 | niro | 31640 | # $Id$ |
2 | |||
3 | PNAME="perl-lwp-mediatypes" | ||
4 | PVER="6.02" | ||
5 | PBUILD="r4" | ||
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 | } |