Parth / dotfiles

518 stars 231 forks source link

Deploy script problems #39

Open Parth opened 6 years ago

Parth commented 6 years ago

The deploy script uses command -v to figure out if a particular dependency manager is present on the system. This perhaps isn't the best way to answer the question: "which dependency manager to use"

This is problematic as apt is the dependency management tool on Ubuntu, and serves a different purpose in macOS.

Short term I think we can just check for apt-get and use that.

Another consideration to make: should we just be hosting this tool on a dependency management system in the first place? So instead of:

  1. Clone
  2. Deploy
  3. Log out log back

it might be something like:

  1. Apt 2 Exec