Skip to content

Commit

Permalink
changing to os.path.join for creating pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebot committed Dec 4, 2022
1 parent 846c0f9 commit 2069ec7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions onboardme/pkg_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def run_pkg_mngrs(pkg_mngrs=[], pkg_groups=[]):
list_cmd = pkg_cmds['list']

# manually expanding, b/c there's not good way 2 do fstring via yml
if 'PWD' in list_cmd:
list_cmd = list_cmd.replace("PWD", PWD)
if pkg_mngr == 'apt':
list_cmd = path.join(PWD, list_cmd.replace("PWD/", ""))

list_pkgs = subproc([list_cmd], quiet=True)

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "onboardme"
version = "0.15.13"
version = "0.15.14_a1"
description = "An onboarding tool to install dot files and packages including a default mode with sensible defaults to run on most computers running Debian based distros or macOS."
authors = ["Jesse Hitch <[email protected]>"]
license = "AGPL-3.0-or-later"
Expand All @@ -17,6 +17,7 @@ classifiers = ["Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)"]
packages = [{include = "onboardme"}]
include = ["onboardme/scripts/update_apt_sources.sh",
"onboardme/scripts/get_apt_list.sh",
"onboardme/config/onboardme_config.yml",
"onboardme/config/packages.yml"]

Expand Down

0 comments on commit 2069ec7

Please sign in to comment.