mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
* Include the version of alien that generated a deb or rpm in the
description. Closes: #220763 * Also put it in the changelog of debian packages.
This commit is contained in:
20
alien.pl
20
alien.pl
@@ -271,16 +271,19 @@ Randolph Chung, B<<tausq@debian.org>>.
|
||||
|
||||
The Solaris pkg code was written by Mark A. Hershberger B<<mah@everybody.org>>.
|
||||
|
||||
Alien has been extensively rewritten (3 times) and is now maintained by
|
||||
alien has been extensively rewritten (3 times) and is now maintained by
|
||||
Joey Hess, B<<joeyh@debian.org>>.
|
||||
|
||||
=head1 COPYRIGHT
|
||||
|
||||
Alien may be copied and modified under the terms of the GNU General Public
|
||||
alien may be copied and modified under the terms of the GNU General Public
|
||||
License.
|
||||
|
||||
=cut
|
||||
|
||||
package Alien;
|
||||
our $Version='unknown'; # VERSION_AUTOREPLACE done by Makefile, DNE
|
||||
|
||||
use strict;
|
||||
use lib '.'; # For debugging, removed by Makefile.
|
||||
use Getopt::Long;
|
||||
@@ -291,18 +294,17 @@ use Alien::Package::Slp;
|
||||
use Alien::Package::Pkg;
|
||||
use Alien::Package::Lsb;
|
||||
|
||||
# Display alien's version number.
|
||||
sub version {
|
||||
print "alien version $Alien::Version\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
# Returns a list of directories to search for patches.
|
||||
sub patchdirs {
|
||||
return '/var/lib/alien',"/usr/share/alien/patches";
|
||||
}
|
||||
|
||||
# Display alien's version number.
|
||||
sub version {
|
||||
my $version_string='unknown'; # VERSION_AUTOREPLACE done by Makefile, DNE
|
||||
print "Alien version $version_string\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
# Display usage help.
|
||||
sub usage {
|
||||
print STDERR <<EOF;
|
||||
|
||||
Reference in New Issue
Block a user