Skip to content

Commit

Permalink
fix: hard-code hooks directory
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Drung <[email protected]>
  • Loading branch information
bdrung committed Feb 12, 2024
1 parent 5e8db0d commit f564646
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bdebstrap
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ import time

import ruamel.yaml

HOOKS_DIR = (
"/usr/share/bdebstrap/hooks"
if os.path.dirname(__file__) == "/usr/bin"
else os.path.join(os.path.dirname(__file__), "hooks")
)
HOOKS_DIR = "/usr/share/bdebstrap/hooks"
MANIFEST_FILENAME = "manifest"
OUTPUT_DIR = "/tmp/bdebstrap-output"
LOG_FORMAT = "%(asctime)s %(name)s %(levelname)s: %(message)s"
Expand Down

0 comments on commit f564646

Please sign in to comment.