Files
Arch-R/packages/sysutils/busybox/scripts/pastebinit

10 lines
349 B
Plaintext
Raw Normal View History

#!/bin/sh
2018-07-16 20:45:36 +02:00
# SPDX-License-Identifier: GPL-2.0-or-later
2019-03-26 15:58:05 +00:00
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
2018-07-16 20:45:36 +02:00
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
2023-12-10 18:18:26 +01:00
token=$(echo "@DISTRONAME@-@OS_VERSION@" | sha256sum | cut -d ' ' -f 1)
cat "$@" | curl https://paste.libreelec.tv -F 'file=@-' -H "Authorization: Bearer ${token}"