Skip to content

Commit 2c45b60

Browse files
authored
Changes for deployment (#5035)
1 parent 5121f9c commit 2c45b60

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config/dpkg/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Source: plaso
22
Section: python
33
Priority: extra
44
Maintainer: Log2Timeline maintainers <[email protected]>
5-
Build-Depends: debhelper (>= 9), dh-python, python3-all (>= 3.6~), python3-setuptools
5+
Build-Depends: debhelper (>= 9), dh-python, python3-all (>= 3.6~), python3-setuptools, pybuild-plugin-pyproject
66
Standards-Version: 4.1.4
77
X-Python3-Version: >= 3.6
88
Homepage: https://github.com/log2timeline/plaso

config/dpkg/rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ override_dh_auto_test:
1010
override_dh_auto_install:
1111
dh_auto_install
1212
mkdir -p debian/tmp/usr/share/plaso/
13-
mv debian/tmp/usr/lib/python*/dist-packages/plaso/data/* debian/tmp/usr/share/plaso/
14-
rmdir debian/tmp/usr/lib/python*/dist-packages/plaso/data
13+
mv -n debian/tmp/usr/lib/python*/dist-packages/plaso/data/* debian/tmp/usr/share/plaso
14+
rm -rf debian/tmp/usr/lib/python*/dist-packages/plaso/data
1515
find debian/tmp/usr/bin/ -type f -exec mv {} {}.py \;
1616

0 commit comments

Comments
 (0)