pkgs.kpaste: replace internal host with https external host

This commit is contained in:
makefu 2020-06-05 10:39:43 +02:00
parent bed170dd8a
commit 360e823a9a
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -2,5 +2,5 @@
writeDashBin "kpaste" ''
${curl}/bin/curl -sS http://p.r --data-binary @"''${1:--}" |
${gnused}/bin/sed '$ {p;s/\<http://p.r\>/krebsco.de/}'
${gnused}/bin/sed '$ {p;s|http://p.r|https://p.krebsco.de|}'
''