From 0235a576ed807d845463cdedbc4abb7588d5b9c3 Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 28 Aug 2020 17:47:58 -0400 Subject: [PATCH] =?UTF-8?q?=20=F0=9F=A6=88=F0=9F=8F=A0=F0=9F=90=9C?= =?UTF-8?q?=E2=9D=97=20Updated=20installer=20=E2=9D=97=F0=9F=90=9C?= =?UTF-8?q?=F0=9F=A6=88=F0=9F=8F=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 60 ++++++----------------------------------------------- version.txt | 2 +- 2 files changed, 7 insertions(+), 55 deletions(-) diff --git a/install.sh b/install.sh index 5e36c3d..24dcca4 100755 --- a/install.sh +++ b/install.sh @@ -35,10 +35,6 @@ fi # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - system_installdirs -# OS Support: supported_os unsupported_oses - -unsupported_oses - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Make sure the scripts repo is installed @@ -62,63 +58,19 @@ fontmgr_install # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# Version - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Script options IE: --help show_optvars "$@" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# Do not update - -#systemmgr_noupdate - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# Requires root - no point in continuing - -#sudoreq # sudo required -#sudorun # sudo optional - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # end with a space APP="" -PERL="" -PYTH="" -PIPS="" -CPAN="" -GEMS="" # install packages - useful for package that have the same name on all oses install_packages $APP -# install required packages using file -install_required $APP - -# check for perl modules and install using system package manager -install_perl $PERL - -# check for python modules and install using system package manager -install_python $PYTH - -# check for pip binaries and install using python package manager -install_pip $PIPS - -# check for cpan binaries and install using perl package manager -install_cpan $CPAN - -# check for ruby binaries and install using ruby package manager -install_gem $GEMS - -# Other dependencies -dotfilesreq git -dotfilesreqadmin - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Ensure directories exist @@ -132,13 +84,13 @@ ensure_perms if [ -d "$APPDIR/.git" ]; then execute \ - "git_update $APPDIR" \ - "Updating $APPNAME configurations" + "git_update $APPDIR" \ + "Updating $APPNAME configurations" else execute \ - "backupapp && \ + "backupapp && \ git_clone -q $REPO/$APPNAME $APPDIR" \ - "Installing $APPNAME configurations" + "Installing $APPNAME configurations" fi # exit on fail @@ -153,8 +105,8 @@ run_postinst() { } execute \ -"run_postinst" \ -"Running post install scripts" + "run_postinst" \ + "Running post install scripts" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/version.txt b/version.txt index d3dd431..1b1bda6 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -082820201735-git +082820201747-git