Skip to content

Commit b37e811

Browse files
committed
Don't bundle dpkg or rpm
We require users to provide these tools in $PATH. dpkg and rpm do not provide any portable options, and it would be a lot of hassle to bundle them properly in the AppImage. The best distributions for building are therefore Debian and its derivatives, which provide packages for both that work pretty well.
1 parent 27bb822 commit b37e811

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

appimagecraft.yml

-5
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ scripts:
2828
2929
this_dir="$(dirname "$0")"
3030
31-
# make sure we can use our bundled dpkg/rpm(build)
32-
export PATH="$this_dir"/usr/bin:"$PATH"
3331
3432
"$this_dir"/usr/bin/python -m ldnp "$@"
3533
EOF
@@ -44,9 +42,6 @@ appimage:
4442
- -i "$BUILD_DIR"/ldnp.svg
4543
- -d "$BUILD_DIR"/ldnp.desktop
4644
- --custom-apprun "$BUILD_DIR"/AppRun.sh
47-
- -e "$(which dpkg)"
48-
- -e "$(which rpm)"
49-
- -e "$(which rpmbuild)"
5045
environment:
5146
PIP_REQUIREMENTS: .
5247
CONDA_PYTHON_VERSION: 3.11

0 commit comments

Comments
 (0)