mirror of
https://github.com/getsolus/packages.git
synced 2025-04-26 21:01:01 +03:00
Update module load order. Add vstags to gitignore
This commit is contained in:
parent
0aa2de3433
commit
4203cc9ef3
2 changed files with 15 additions and 14 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -8,6 +8,7 @@
|
|||
# no backup files
|
||||
*~
|
||||
*.vscode
|
||||
*.vstags
|
||||
**.kate-swp
|
||||
# Go binaries
|
||||
common/Go/yabi/yabi
|
||||
|
@ -22,4 +23,5 @@ venv
|
|||
infrastructure-tooling
|
||||
|
||||
# solus image symlink or clone
|
||||
solus-image-*
|
||||
solus-image-*
|
||||
|
||||
|
|
|
@ -3,24 +3,17 @@
|
|||
# ABSTRACT: Find and return all unique package names in input file with highest version string
|
||||
# PODNAME: get_unique_updates.pl
|
||||
|
||||
use Modern::Perl;
|
||||
|
||||
use FindBin;
|
||||
use lib "$FindBin::RealBin/lib";
|
||||
use GetUniqueLines;
|
||||
|
||||
use Getopt::Long;
|
||||
use Pod::Usage;
|
||||
|
||||
BEGIN {
|
||||
# First, check if all the required modules have
|
||||
# been installed inthe system this script will run on.
|
||||
my @import_modules = (
|
||||
'FindBin',
|
||||
'Modern::Perl',
|
||||
'Getopt::Long',
|
||||
'Pod::Usage',
|
||||
'ExtUtils::Installed',
|
||||
'ExtUtils::Installed'
|
||||
);
|
||||
|
||||
for my $module ( @import_modules ) {
|
||||
|
@ -29,16 +22,22 @@ BEGIN {
|
|||
# problems finding module
|
||||
# say "Cant find $module";
|
||||
print qq{
|
||||
$module does not seem to be installed in this system. Please install the module and try again.\n
|
||||
First install cpanm with
|
||||
curl -L https://cpanmin.us | perl - --sudo App::cpanminus\n
|
||||
Then install the missing module like so:
|
||||
sudo cpanm $module};
|
||||
Perl module $module does not seem to be installed in this system. Please install it and try again.\n
|
||||
First install cpanm with
|
||||
curl -L https://cpanmin.us | perl - --sudo App::cpanminus\n
|
||||
Then install the missing module like so:
|
||||
sudo cpanm $module
|
||||
};
|
||||
exit 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
use Modern::Perl;
|
||||
use GetUniqueLines;
|
||||
use Getopt::Long;
|
||||
use Pod::Usage;
|
||||
|
||||
my $successful_parse = GetOptions(
|
||||
'help|?' => \my $help,
|
||||
man => \my $man,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue