htgen-imgur: 1.0.0 -> 1.2.0
Generate deletehash without dashes, otherwise an unpatched flameshot will fail to delete uploaded images, as it uses dashes to pack files into its history.
This commit is contained in:
parent
af9e845e86
commit
90b46307b5
@ -1,7 +1,7 @@
|
||||
{ attr, coreutils, exiv2, findutils, gnugrep, jq, nix, stockholm, util-linux, stdenv }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "htgen-imgur";
|
||||
version = "1.0.0";
|
||||
version = "1.2.0";
|
||||
|
||||
src = ./src;
|
||||
|
||||
|
@ -99,7 +99,7 @@ case "$Method $path" in
|
||||
|
||||
if item=$(find_item $base32short); then
|
||||
|
||||
deletehash=$(uuidgen)
|
||||
deletehash=$(uuidgen | tr -d -)
|
||||
|
||||
info=$(
|
||||
exiv2 print "$item" |
|
||||
|
Loading…
Reference in New Issue
Block a user