Move some scripts to external repo
This commit is contained in:
parent
6a658b2f7c
commit
1e34655bac
6 changed files with 102 additions and 325 deletions
|
@ -4,12 +4,6 @@ base_path="$HOME/.cache/remote-sources"
|
|||
file_path="$base_path/$2"
|
||||
|
||||
autoinstall file "$1" "$file_path"
|
||||
mkdir -p "$base_path"
|
||||
if [ ! -f "$file_path" ]
|
||||
then
|
||||
echo "Installing file $2"
|
||||
curl -fsSL -o "$file_path" "$1"
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC1090
|
||||
. "$file_path"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue