From 1de18693f2e6728f7ada66322bb19d0730d52798 Mon Sep 17 00:00:00 2001 From: Michael Scalzetti Date: Fri, 25 Mar 2022 16:45:03 -0400 Subject: [PATCH] made a check for install location so I can set it to a default if none is given; standardized the comment styling a bit --- desktop_install.sh | 9 +++++++-- laptop_install.sh | 11 +++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/desktop_install.sh b/desktop_install.sh index 67ce38f..c06f08b 100644 --- a/desktop_install.sh +++ b/desktop_install.sh @@ -1,6 +1,11 @@ -LOC="./.auto-install" -git clone https://gitea.voxelvortex.tk:443/voxelvortex/InstaTout.git $LOC +LOC=$1 +if [ -z "$1" ] + then + LOC="./.auto-install" +fi + +git clone https://gitea.voxelvortex.tk:443/voxelvortex/InstaTout.git $LOC # Install all the generic programs $LOC/program_install.sh diff --git a/laptop_install.sh b/laptop_install.sh index 6d418fa..d8142e8 100644 --- a/laptop_install.sh +++ b/laptop_install.sh @@ -1,15 +1,22 @@ -LOC="./.auto-install" +LOC=$1 + +if [ -z "$1" ] + then + LOC="./.auto-install" +fi + git clone https://gitea.voxelvortex.tk:443/voxelvortex/InstaTout.git $LOC +# Install all the generic programs $LOC/program_install.sh +# Make sure all the packages I want for my laptop are installed apt-get update &&\ apt-get install -y ungoogled-chromium librewolf code python3 python3-pip python3-wheel docker-compose docker.io zsh gdb p7zip-full git iputils-* dnsutils net-tools ffmpeg htop nano vim neovim nmap ncat ssh tree vlc snapd audacity filezilla # install laptop utils via tasksel tasksel install laptop - # Point to Fprint driver echo -e "\n\nFigerprint\n\tCheck out: https://gist.github.com/d-k-bo/15e53eab53e2845e97746f5f8661b224"