Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2917 from adamg88/pastebinit
Browse files Browse the repository at this point in the history
pastebinit: use sprunge.us as ix.io is down
  • Loading branch information
spycat88 authored Feb 21, 2024
2 parents 3c9b525 + b805f1c commit 4f2f187
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/sysutils/busybox/scripts/pastebinit
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)

if [ -n "${PASTEUSR}" -a "${PASTEPWD}" ]; then
cat "$@" | curl -F 'f:1=<-' ${PASTEUSR}:${PASTEPWD}@ix.io
else
cat "$@" | curl -F 'f:1=<-' http://ix.io
fi
cat "$@" | curl -F 'sprunge=<-' http://sprunge.us

0 comments on commit 4f2f187

Please sign in to comment.