fix debian build: create directories before installing files
This commit is contained in:
parent
25b26a4d2f
commit
c0a78ae9dd
1 changed files with 4 additions and 0 deletions
4
debian/rules
vendored
4
debian/rules
vendored
|
|
@ -9,6 +9,10 @@ export PYBUILD_NAME=deb-mock
|
|||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
# Create necessary directories
|
||||
mkdir -p debian/deb-mock/usr/bin
|
||||
mkdir -p debian/deb-mock/usr/share/deb-mock/configs
|
||||
mkdir -p debian/deb-mock/usr/share/doc/deb-mock
|
||||
# Install the deb-mock executable
|
||||
install -D -m 755 deb_mock/cli.py debian/deb-mock/usr/bin/deb-mock
|
||||
# Install configuration files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue