From 334c20de64bad325b4b2844653ecb45f8b0d9a8b Mon Sep 17 00:00:00 2001 From: Jesse Hitch Date: Sat, 20 May 2023 15:12:34 +0200 Subject: [PATCH] fix download of packages.yml if you don't have one --- onboardme/constants.py | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/onboardme/constants.py b/onboardme/constants.py index bce8b19c..31add45d 100644 --- a/onboardme/constants.py +++ b/onboardme/constants.py @@ -40,7 +40,7 @@ default_dotfiles = ("https://raw.githubusercontent.com/jessebot/dot_files/" - "main/.config/onboardme/config.yml") + "main/.config/onboardme/") def load_cfg(config_file='config.yml') -> dict: @@ -54,7 +54,7 @@ def load_cfg(config_file='config.yml') -> dict: if not path.exists(config_full_path): Path(config_dir).mkdir(parents=True, exist_ok=True) # downloads a default config file from default dot files - wget.download(default_dotfiles, config_full_path) + wget.download(default_dotfiles + config_file, config_full_path) with open(config_full_path, 'r') as yaml_file: return yaml.safe_load(yaml_file) diff --git a/pyproject.toml b/pyproject.toml index 56db79d2..9d0ab2c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "onboardme" -version = "1.1.5" +version = "1.1.6" description = "Install dot files and packages, including a base mode with sensible defaults to run on most computers running Debian based distros or macOS." authors = [ "Jesse Hitch ",