Compare commits
No commits in common. "e4051fe4e47f8fcfd14702f7cbd3555468d38ed0" and "376fe7e5afbc0034795d3fb0638511f390cd28b0" have entirely different histories.
e4051fe4e4
...
376fe7e5af
3 changed files with 4 additions and 5 deletions
5
Makefile
5
Makefile
|
@ -1,5 +1,6 @@
|
||||||
BINDIR ?= $(DESTDIR)/usr/bin
|
DESTDIR ?= /usr
|
||||||
VARDIR ?= $(DESTDIR)/var/lib/containerctl
|
BINDIR ?= $(DESTDIR)/bin
|
||||||
|
VARDIR ?= /var/lib/containerctl
|
||||||
GENERATEDIR ?= $(VARDIR)/generate
|
GENERATEDIR ?= $(VARDIR)/generate
|
||||||
CONFIGDIR ?= $(VARDIR)/configs
|
CONFIGDIR ?= $(VARDIR)/configs
|
||||||
CONTAINERDIR ?= $(VARDIR)/containers
|
CONTAINERDIR ?= $(VARDIR)/containers
|
||||||
|
|
|
@ -380,8 +380,6 @@ class Environment:
|
||||||
|
|
||||||
def command(self) -> str:
|
def command(self) -> str:
|
||||||
"""Option for podman container create."""
|
"""Option for podman container create."""
|
||||||
if len(self.variables) == 0:
|
|
||||||
return ""
|
|
||||||
return f"--env-file={self.file}"
|
return f"--env-file={self.file}"
|
||||||
|
|
||||||
def create(self) -> str:
|
def create(self) -> str:
|
||||||
|
|
|
@ -14,7 +14,7 @@ from pathlib import Path
|
||||||
from container import ConfigError, Container
|
from container import ConfigError, Container
|
||||||
from log import Log
|
from log import Log
|
||||||
|
|
||||||
GENERATE_VERSION = "0.0.8"
|
GENERATE_VERSION = "0.0.7"
|
||||||
HEADER = f"""#!/bin/sh
|
HEADER = f"""#!/bin/sh
|
||||||
# This script was generated by containerctl v{GENERATE_VERSION}
|
# This script was generated by containerctl v{GENERATE_VERSION}
|
||||||
# Report bugs with _this script_ to <tenno+containerctl@suij.in>
|
# Report bugs with _this script_ to <tenno+containerctl@suij.in>
|
||||||
|
|
Loading…
Add table
Reference in a new issue