Skip to content

Commit

Permalink
fix: apt
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Mar 28, 2024
1 parent 8c2a1df commit a712562
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/apt/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ mkdir -p $DEBIAN

# spec variables
NAME=
EPOCH=
EPOCH=0
VERSION=
REVISION=
REVISION=0
ARCHITECTURE=
DEPENDS=
DESCRIPTION=
Expand Down Expand Up @@ -78,7 +78,7 @@ function _pack() { (
FILE_VERSION_STRING=$EPOCH-$VERSION
fi

if [[ ! -z $REVISION ]]; then
if [[ ! -z $REVISION && $REVISION != "0" ]]; then
VERSION_STRING=$VERSION_STRING-$REVISION
FILE_VERSION_STRING=$FILE_VERSION_STRING-$REVISION
fi
Expand Down

0 comments on commit a712562

Please sign in to comment.