Merge pull request #2917 from adamg88/pastebinit

pastebinit: use sprunge.us as ix.io is down
This commit is contained in:
adamg88 2024-02-21 22:02:40 +00:00 committed by GitHub
commit 4f2f1875b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,9 +3,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# 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