1
0

pig_birth

This commit is contained in:
dtb 2022-11-03 01:01:58 -04:00
parent d0479bb46b
commit f02e25c06b

19
rss/pig_birth Normal file
View File

@ -0,0 +1,19 @@
#!/bin/sh
set -e
argv0="$0"
depend(){
if ! command -v "$1" >/dev/null 2>&1; then
printf "%s: %s: Could not find dependency.\n" "$argv0" "$1" \
1>&2
exit 69 # sysexits(3) EX_UNAVAILABLE
fi
return 0
}
depend curl
depend jq
depend xq
mkdir "$(pig_pen)"