mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
bin/build*: Check if dpkg-deb tool is correct
This commit is contained in:
@@ -15,6 +15,11 @@ if ! command -v dpkg-deb &> /dev/null; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if dpkg-deb 2>&1 | grep BusyBox &> /dev/null; then
|
||||
echo "The dpkg-deb binary provided by BusyBox is not compatible. The Debian tool needs to be used instead."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SRC_DIR=./dist/trilium-linux-x64-src
|
||||
|
||||
[ "$1" != "DONTCOPY" ] && ./bin/copy-trilium.sh "$SRC_DIR"
|
||||
|
||||
Reference in New Issue
Block a user