rice

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 6dfaeca1b75713fd29bc9b9388d13654ae4dd469
parent b4f6dbd76f4a3d0eb519ba85d79d250717cda18e
Author: Mark Feller <mark.feller@member.fsf.org>
Date:   Sat, 16 Mar 2019 16:59:06 -0600

packages

Diffstat:
Mbootstrap.sh | 13++++++++++---
Mpackages | 5++---
Mpackages_linux | 5+++--
Apackages_macos | 2++
4 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/bootstrap.sh b/bootstrap.sh @@ -1,15 +1,21 @@ #!/bin/sh -PKGS=`grep -v ^\# packages | grep . | awk '{print $1}' | paste -sd ' ' -` +pkgs() { + grep -v ^\# $1 | grep . | awk '{print $1}' | paste -sd ' ' - +} + +PKGS=`pkgs packages` +LINUX_PKGS=`pkgs packages_linux` +MACOS_PKGS=`pkgs packages_macos` bootstrap_linux() { echo "Installing Packages" - sudo dnf install $PKGS + echo sudo dnf install $PKGS $LINUX_PKGS } bootstrap_osx() { echo "Installing Packages" - brew install $PKGS + brew install $PKGS $MACOS_PKGS } if [[ "$OSTYPE" == "linux-gnu" ]]; then @@ -19,4 +25,5 @@ elif [[ "$OSTYPE" == "darwin"* ]]; then IGNORE="--ignore bin|conkyrc|tmux.conf|dunst|rofi|i3|i3status" fi +echo "Linking Dots" stow $IGNORE dots diff --git a/packages b/packages @@ -23,5 +23,4 @@ stow # manage dotfiles cmake gcc go -pyenv -ipython- \ No newline at end of file +pyenv+ \ No newline at end of file diff --git a/packages_linux b/packages_linux @@ -3,4 +3,5 @@ i3status i3lock rofi dunst -libnotify- \ No newline at end of file +libnotify +ipython+ \ No newline at end of file diff --git a/packages_macos b/packages_macos @@ -0,0 +1 @@ +fd+ \ No newline at end of file