Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Retab

  • Loading branch information...
commit 7272c8955e5f5aa487ec5dd4962118d438577bcd 1 parent f226557
Brett Buddin authored
Showing with 24 additions and 24 deletions.
  1. +12 −12 scripts/install.sh
  2. +12 −12 scripts/uninstall.sh
View
24 scripts/install.sh
@@ -4,20 +4,20 @@ dotfiles_dir="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )"/.. && pwd )"
excluded=("scripts" "README.markdown")
function isExcluded() {
- if [ -z "$1" ]
- then
- return
- fi
+ if [ -z "$1" ]
+ then
+ return
+ fi
- for i in ${excluded[@]}
- do
- if [ $i == $1 ]
- then
- return 1
- fi
- done
+ for i in ${excluded[@]}
+ do
+ if [ $i == $1 ]
+ then
+ return 1
+ fi
+ done
- return 0
+ return 0
}
for path in $dotfiles_dir/*
View
24 scripts/uninstall.sh
@@ -4,20 +4,20 @@ dotfiles_dir="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )"/.. && pwd )"
excluded=("scripts" "README.markdown")
function isExcluded() {
- if [ -z "$1" ]
- then
- return
- fi
+ if [ -z "$1" ]
+ then
+ return
+ fi
- for i in ${excluded[@]}
- do
- if [ $i == $1 ]
- then
- return 1
- fi
- done
+ for i in ${excluded[@]}
+ do
+ if [ $i == $1 ]
+ then
+ return 1
+ fi
+ done
- return 0
+ return 0
}
for path in $dotfiles_dir/*
Please sign in to comment.
Something went wrong with that request. Please try again.