#!/usr/bin/env sh

base_path="$HOME/.cache/remote-sources"
mkdir -p "$base_path"
file_path="$base_path/$2"
if [ ! -f "$file_path" ]
then
	echo "Installing file $2"
	curl -Ls -o "$file_path" "$1"
fi

# shellcheck disable=SC1090
. "$file_path"