diff options
author | int | 2017-10-10 19:23:01 +0200 |
---|---|---|
committer | int | 2017-10-10 19:23:01 +0200 |
commit | 4f158ed7d4b919d0cb15b8e5343e9e87fd795479 (patch) | |
tree | a85c06c7a1e40461475ab47ffac42a72fc1e6eea /perl-swagger2.install | |
download | aur-perl-swagger2.tar.gz |
Deprecated Perl/CPAN Module Swagger2
This is one of the perl-dependencies of Koha: https://koha-community.org/
Start "./koha_perl_deps.pl -r -a" after downloading and unpacking
the koha-tarball for a list of all required packages.
This is with the cpan2aur-bugfix,
see https://rt.cpan.org/Public/Bug/Display.html?id=123153 for details.
Diffstat (limited to 'perl-swagger2.install')
-rw-r--r-- | perl-swagger2.install | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/perl-swagger2.install b/perl-swagger2.install new file mode 100644 index 000000000000..0ff0b09539b9 --- /dev/null +++ b/perl-swagger2.install @@ -0,0 +1,22 @@ +print_deprecation_warning() { + echo "" + echo "This Perl/CPAN module is deprecated. Don't install and use it!" + echo "See http://search.cpan.org/~ashimema/Swagger2-0.89/lib/Swagger2.pm#DEPRECATION_WARNING" + echo "for details and what to do instead." + echo "So don't install and use it ... unless you know what your are doing." + echo "But we all know the ugly truth about this. Don't! Really don't." + echo "Cancel this installation know! And live happy." + echo "" +} + +## arg 1: the new package version +pre_install() { + print_deprecation_warning +} + +## arg 1: the new package version +## arg 2: the old package version +pre_upgrade() { + print_deprecation_warning +} + |