Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tivsm-filepath
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gerhard Gonter
tivsm-filepath
Commits
f15292bd
Commit
f15292bd
authored
9 years ago
by
Gerhard Gonter
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
a7aeabf2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-1
1 addition, 1 deletion
.gitignore
tivsm-helper.pl
+25
-3
25 additions, 3 deletions
tivsm-helper.pl
with
26 additions
and
4 deletions
.gitignore
+
1
−
1
View file @
f15292bd
...
@@ -9,4 +9,4 @@ filepath.mod.c
...
@@ -9,4 +9,4 @@ filepath.mod.c
jbb_version.h
jbb_version.h
modules.order
modules.order
tivsm-filepath-*.deb
tivsm-filepath-*.deb
dsmerror.log
This diff is collapsed.
Click to expand it.
tivsm-helper.pl
+
25
−
3
View file @
f15292bd
#!/usr/bin/perl
#!/usr/bin/perl
=head1 NAME
tivsm-helper.pl
=head1 DESCRIPTION
=head2 display current packages, when they are installed
./tivsm-helper.pl
=head2 install the packages
./tivsm-helper.pl install
=head2 remove the packages
ATTN: use at own risk!
./tivsm-helper.pl remove
=cut
use
strict
;
use
strict
;
my
%packages
=
(
my
%packages
=
(
...
@@ -14,6 +36,7 @@ my %packages= (
...
@@ -14,6 +36,7 @@ my %packages= (
'
tivsm-jbb
'
=>
'
tivsm-jbb.amd64.deb
'
'
tivsm-jbb
'
=>
'
tivsm-jbb.amd64.deb
'
);
);
# the order of packages seems to be very important for the installation!
my
@packages
=
qw(
my
@packages
=
qw(
gskcrypt64
gskcrypt64
gskssl64
gskssl64
...
@@ -26,7 +49,7 @@ my @packages= qw(
...
@@ -26,7 +49,7 @@ my @packages= qw(
tivsm-jbb
tivsm-jbb
)
;
)
;
print
"
packages: [
",
join
('
',
@packages
),
"
]
\n
";
#
print "packages: [", join (' ', @packages), "]\n";
my
%op_modes
=
map
{
$_
=>
1
}
qw(show remove install)
;
my
%op_modes
=
map
{
$_
=>
1
}
qw(show remove install)
;
my
$op_mode
=
'
show
';
my
$op_mode
=
'
show
';
...
@@ -38,8 +61,7 @@ while (my $arg= shift (@ARGV))
...
@@ -38,8 +61,7 @@ while (my $arg= shift (@ARGV))
if
(
$op_mode
eq
'
show
')
if
(
$op_mode
eq
'
show
')
{
{
system
('
dpkg
',
'
-l
',
'
tivsm*
');
system
(
qw(dpkg -l gsk* tivsm*)
);
system
('
dpkg
',
'
-l
',
'
gsk*
');
}
}
elsif
(
$op_mode
eq
'
remove
')
elsif
(
$op_mode
eq
'
remove
')
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment