maintenance

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2026-11-28 04:39:56 +00:00
parent 7fe506c4d3
commit a58120b7ac
+1 -4
View File
@@ -19,8 +19,6 @@ act() {
return 0 return 0
} }
urldecode() { : "${*//+/ }"; printf '%b\n' "${_//%/\\x}"; }
# cfg foo bool = [true|1] # cfg foo bool = [true|1]
# cfg foo [string] = 'bar' # cfg foo [string] = 'bar'
# cfg foo # cfg foo
@@ -55,7 +53,7 @@ cfg() {
esac esac
} }
_s="$2" _s="$*"
break break
;; ;;
@@ -223,7 +221,6 @@ main() {
done done
target=$1; [[ "$target" ]] || { usage; exit 1; } target=$1; [[ "$target" ]] || { usage; exit 1; }
# target=$(urldecode "$target") # No idea why I thought this was necessary.
cfg dryrun && { cfg dryrun && {
printf 'Dry run: not actually running the handler\n' >&2 printf 'Dry run: not actually running the handler\n' >&2