Skip to content

Commit

Permalink
Fix CONTENTS
Browse files Browse the repository at this point in the history
  • Loading branch information
phnzb committed Apr 4, 2024
1 parent 44be6c5 commit 9598c5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linux/pkg/build-pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ for ARCH in $ARCHS; do
if [ "$DEB" == "yes" ]; then
mkdir -p $CONTENTS/DEBIAN/
cp $NZBGET_ROOT/linux/pkg/deb/DEBIAN/* "$CONTENTS/DEBIAN/"
cp -r $NZBGET_ROOT/linux/pkg/deb/CONTENTS "$PWD/$ARCH/"
# copy additional CONTENTS files
cp -r $NZBGET_ROOT/linux/pkg/deb/CONTENTS "$PWD/$ARCH/" || true
eval "echo \"$(cat ../linux/pkg/deb/DEBIAN/control)\"" > "$CONTENTS/DEBIAN/control"
mkdir -p "$CONTENTS/lib/systemd/system/"
cp ../linux/pkg/nzbget.service "$CONTENTS/lib/systemd/system/"
Expand Down

0 comments on commit 9598c5c

Please sign in to comment.