carbs

Cem's Auto Rice Bootstrapping Scripts
git clone git://git.ckyln.com/carbs.git
Log | Files | Refs | README | LICENSE

commit a26ba4b378d2f17be6331d8a27f16c01cd573857
parent 8463b3652c7e3256fd35f11b97e0e72ba4b7d46f
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 26 Sep 2019 15:33:22 +0300

fix wrong check && remove unused variable

Diffstat:
Mcarbs | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/carbs b/carbs @@ -27,8 +27,6 @@ die() { error "$@"; exit 1; } [ $EUID = 0 ] && die 'Please run this script without root priviliges' -BASE="$PWD" - usage() { cat <<EOF usage: ${0##*/} [options] @@ -107,8 +105,7 @@ makeinstall() { } installcsv() {\ - [ -e $BASE/progs.csv ] || curl -Lo $BASE/progs.csv https://raw.githubusercontent.com/cemkeylan/carbs/master/progs.csv - [ -e $BASE/progs.csv ] || die 'Could not retrieve progs.csv' + [ -e $progs ] || die 'Could not retrieve progs.csv' while IFS=, read -r src name do case $src in