aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S20_eget
diff options
context:
space:
mode:
Diffstat (limited to 'files/.zsh/rc/S20_eget')
-rw-r--r--files/.zsh/rc/S20_eget1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/.zsh/rc/S20_eget b/files/.zsh/rc/S20_eget
index 881f7dd..0a0aa26 100644
--- a/files/.zsh/rc/S20_eget
+++ b/files/.zsh/rc/S20_eget
@@ -11,6 +11,7 @@ function () {
unset -f eget
temp_file=$(mktemp)
trap 'rm -f "$temp_file"' EXIT
+ mkdir -p "$(dirname "$__EGET_LOCATION")"
curl -o "$temp_file" "$EGET_SCRIPT_URL"
echo "$EGET_SCRIPT_CHECKSUM $temp_file" | shasum --algorithm 256 --check --quiet
(cd $(dirname "$__EGET_LOCATION") && sh "$temp_file")