Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
d4a46d72
Commit
d4a46d72
authored
Nov 25, 2019
by
Francesc Guasch
Browse files
create package for Ubunut 19.10
parent
f9a12366
Changes
2
Hide whitespace changes
Inline
Side-by-side
deb/debianize.pl
View file @
d4a46d72
...
...
@@ -16,6 +16,9 @@ my $DIR_SRC = getcwd;
my
$DIR_DST
;
my
$DEBIAN
=
"
DEBIAN
";
my
%COPY_RELEASES
=
(
'
ubuntu-19.04
'
=>
['
ubuntu-18.10
','
ubuntu-19.10
']
);
my
%DIR
=
(
templates
=>
'
/usr/share/ravada
'
,'
etc/ravada.conf
'
=>
'
etc
'
...
...
@@ -324,6 +327,18 @@ sub get_fallback {
print
`
etc/get_fallback.pl
`;
}
sub
copy_identical_releases
{
for
my
$source
(
sort
keys
%COPY_RELEASES
)
{
for
my
$copy
(
@
{
$COPY_RELEASES
{
$source
}})
{
my
$file_source
=
"
$DIR_SRC
/../ravada_release/ravada_
${VERSION}
_
${source}
_all.deb
";
die
"
Error: No
$file_source
"
if
!-
e
$file_source
;
my
$file_copy
=
"
$DIR_SRC
/../ravada_release/ravada_
${VERSION}
_
${copy}
_all.deb
";
copy
(
$file_source
,
$file_copy
)
or
die
"
Error: $!
\n
$file_source
->
$file_copy
";
}
}
exit
;
}
#########################################################################
get_fallback
();
...
...
@@ -367,3 +382,5 @@ tar($dist);
create_md5sums
();
create_deb
(
$dist
);
}
copy_identical_releases
();
debian/control-ubuntu-18.10
deleted
120000 → 0
View file @
f9a12366
control-ubuntu-19.04
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment