diff options
author | tv <tv@krebsco.de> | 2023-02-05 00:59:47 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-02-05 01:40:20 +0100 |
commit | 90b46307b5d71b36f28eed78dfcdd2b2e6b57972 (patch) | |
tree | de37baaaca78ec2ce71fe1f4fffbb3b009b019b4 /krebs/5pkgs | |
parent | af9e845e861b51d691102c1bc177dfe5e26fe63f (diff) |
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.
Diffstat (limited to 'krebs/5pkgs')
-rw-r--r-- | krebs/5pkgs/simple/htgen-imgur/default.nix | 2 | ||||
-rw-r--r-- | krebs/5pkgs/simple/htgen-imgur/src/htgen-imgur | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/krebs/5pkgs/simple/htgen-imgur/default.nix b/krebs/5pkgs/simple/htgen-imgur/default.nix index e6b60be49..379150a85 100644 --- a/krebs/5pkgs/simple/htgen-imgur/default.nix +++ b/krebs/5pkgs/simple/htgen-imgur/default.nix @@ -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; diff --git a/krebs/5pkgs/simple/htgen-imgur/src/htgen-imgur b/krebs/5pkgs/simple/htgen-imgur/src/htgen-imgur index af092d007..696d1c00d 100644 --- a/krebs/5pkgs/simple/htgen-imgur/src/htgen-imgur +++ b/krebs/5pkgs/simple/htgen-imgur/src/htgen-imgur @@ -99,7 +99,7 @@ case "$Method $path" in if item=$(find_item $base32short); then - deletehash=$(uuidgen) + deletehash=$(uuidgen | tr -d -) info=$( exiv2 print "$item" | |