Skip to content

Commit

Permalink
Suppress optional copy
Browse files Browse the repository at this point in the history
  • Loading branch information
phnzb committed Apr 11, 2024
1 parent e64099c commit 476175e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux/pkg/build-pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ for ARCH in $ARCHS; do
mkdir -p $CONTENTS/DEBIAN/
cp $NZBGET_ROOT/linux/pkg/deb/DEBIAN/* "$CONTENTS/DEBIAN/"
# copy additional CONTENTS files
cp -r $NZBGET_ROOT/linux/pkg/deb/CONTENTS "$PWD/$ARCH/" || true
cp -r $NZBGET_ROOT/linux/pkg/deb/CONTENTS "$PWD/$ARCH/" 2>/dev/null || 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 476175e

Please sign in to comment.