Codebase list rust-stfu8 / 15a6781
Add the dotenv binary to the path as dotenv-rust This follows the rename logic used in `src/fd-find/debian/rules`. Justin Geibel 4 years ago
1 changed file(s) with 9 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
33
44 %:
55 dh $@ --buildsystem cargo
6
7 override_dh_install:
8 # dotenv is already used by another packages. Install dotenv into /usr/lib/cargo/bin/
9 # and create a symlink to have dotenv-rust in the path
10 mkdir -p debian/dotenv/usr/lib/cargo/bin
11 mv debian/dotenv/usr/bin/dotenv debian/dotenv/usr/lib/cargo/bin/
12 cd debian/dotenv/usr/bin/ && ln -s ../lib/cargo/bin/dotenv dotenv-rust
13 dh_install
14 dh_missing
615
716 override_dh_installman:
817 help2man \