Skip to content

Commit

Permalink
Bump version and also create directories
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindhagberg committed Oct 16, 2024
1 parent 38dbe72 commit 7fa9585
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.24
2.7.25
2 changes: 1 addition & 1 deletion client/nivlheim_client
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ my $NAME = 'nivlheim_client';
my $AUTHOR = 'Øyvind Hagberg';
my $CONTACT = '[email protected]';
my $RIGHTS = 'USIT/IT-DRIFT/GD/GID, University of Oslo, Norway';
my $VERSION = '2.7.24';
my $VERSION = '2.7.25';

# Usage text
my $USAGE = <<"END_USAGE";
Expand Down
2 changes: 1 addition & 1 deletion client/windows/nivlheim_client.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ param(
[bool]$nosleep = $false
)

Set-Variable version -option Constant -value "2.7.24"
Set-Variable version -option Constant -value "2.7.25"
Set-Variable useragent -option Constant -value "NivlheimPowershellClient/$version"
Set-PSDebug -strict
Set-StrictMode -version "Latest" # http://technet.microsoft.com/en-us/library/hh849692.aspx
Expand Down
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nivlheim (2.7.24-1) buster; urgency=low
nivlheim (2.7.25-1) buster; urgency=low

* Changes in the server code (cgi scripts rewritten in Go)

Expand Down
10 changes: 10 additions & 0 deletions server/service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,16 @@ func main() {
// Look for configuration overrides in the environment.
UpdateConfigFromEnvironment(config)

// Create directories if they don't exist
err = os.MkdirAll(config.QueueDir,0750)
if (err != nil) {
log.Print(err)
}
err = os.MkdirAll(config.UploadDir,0750)
if (err != nil) {
log.Print(err)
}

// Connect to database
var dbConnectionString string
if config.PGhost != "" {
Expand Down

0 comments on commit 7fa9585

Please sign in to comment.