Kaydet (Commit) 7d95994e authored tarafından Petr Mladek's avatar Petr Mladek

Do not mention date in the downlaod tarball name

it was to long; version is enough
üst f15dd3db
...@@ -778,9 +778,7 @@ sub get_current_version ...@@ -778,9 +778,7 @@ sub get_current_version
############################################################################################### ###############################################################################################
# Setting the download file name # Setting the download file name
# Syntax: # Syntax:
# (PRODUCTNAME)_(VERSION)_(TIMESTAMP)_(OS)_(ARCH)_(INSTALLTYPE)_(LANGUAGE).(FILEEXTENSION) # (PRODUCTNAME)_(VERSION)_(OS)_(ARCH)_(INSTALLTYPE)_(LANGUAGE).(FILEEXTENSION)
# Rules:
# Timestamp only for Beta and Release Candidate
############################################################################################### ###############################################################################################
sub set_download_filename sub set_download_filename
...@@ -789,7 +787,6 @@ sub set_download_filename ...@@ -789,7 +787,6 @@ sub set_download_filename
my $start = get_downloadname_productname($allvariables); my $start = get_downloadname_productname($allvariables);
my $versionstring = get_download_version($allvariables); my $versionstring = get_download_version($allvariables);
my $date = set_date_string($allvariables);
my $platform = get_download_platformname(); my $platform = get_download_platformname();
my $architecture = get_download_architecture(); my $architecture = get_download_architecture();
my $type = get_install_type($allvariables); my $type = get_install_type($allvariables);
...@@ -797,7 +794,7 @@ sub set_download_filename ...@@ -797,7 +794,7 @@ sub set_download_filename
# Setting the extension happens automatically # Setting the extension happens automatically
my $filename = $start . "_" . $versionstring . "_" . $date . "_" . $platform . "_" . $architecture . "_" . $type . "_" . $language; my $filename = $start . "_" . $versionstring . "_" . "_" . $platform . "_" . $architecture . "_" . $type . "_" . $language;
$filename =~ s/\_\_/\_/g; # necessary, if $versionstring or $platform or $language are empty $filename =~ s/\_\_/\_/g; # necessary, if $versionstring or $platform or $language are empty
$filename =~ s/\_\s*$//; # necessary, if $language and $addon are empty $filename =~ s/\_\s*$//; # necessary, if $language and $addon are empty
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment