From 9af11e38c00d9d69e317b56b03fb3c0ed0353adf Mon Sep 17 00:00:00 2001 From: tb14 Date: Sun, 18 Aug 2019 14:09:19 -0700 Subject: [PATCH] Added Vim / Filezilla --- AmRRON-Setup-Script.sh | 23 +++++++++++++++++++++-- changelogs/CHANGELOG-Setup-Script.md | 3 +++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index e425c47..9890c12 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -1,7 +1,7 @@ #!/bin/bash ################################################################################ ################################################################################ -######################## AmRRON Setup Script v0.5.6 ######################## +######################## AmRRON Setup Script v0.5.7 ######################## ######################## Created by TB-14 ######################## ######################## 05 Aug 2019 ######################## ################################################################################ @@ -490,6 +490,9 @@ tested.\n\nThis installer has been tested on Raspbian Stretch, Ubuntu \ ;; esac +###Determine if we have a Pi4 + + ### #create a finish trap function finish { @@ -1842,6 +1845,14 @@ EOF ################################################################################ ###################### Other tools Functions ################################# ################################################################################ +function vim_install() { +sudo apt-get -y install vim +} + +function filezilla_install() { +sudo apt-get -y install filezilla +} + function gedit_install() { sudo apt-get -y install gedit } @@ -2692,6 +2703,8 @@ yad --image=/tmp/banner.png --center --checklist --print-column=2 --separator="" --button="gtk-close:1" --button="Install All:2" --button="Install Selected:0" \ --column="Tick" --column="Category" --column="Description" --column="Installed" \ false "GEDIT" "Graphical Text Editor." "${GEDITVER}" \ + false "VIM" "VIM text editor." "" \ + false "FILEZILLA" "Graphical FTP program" "" \ false "MATCHBOX_KEYBOARD" "Touchscreen keyboard" "${KEYBOARDVER}" \ false "SCREEN" "Useful tool for terminal management." "${SCREENVER}" \ false "SPEEDTEST" "Run internet speedtests from the command line." "${SPEEDTESTVER}" \ @@ -2703,7 +2716,7 @@ yad --image=/tmp/banner.png --center --checklist --print-column=2 --separator="" rc=$? if [[ $rc == 2 ]]; then - otherArray=(GEDIT MATCHBOX_KEYBOARD SCREEN SPEEDTEST ELECTRUM RASPAP CONKY LIBREOFFICE) + otherArray=(GEDIT VIM FILEZILLA MATCHBOX_KEYBOARD SCREEN SPEEDTEST ELECTRUM RASPAP CONKY LIBREOFFICE) for i in "${otherArray[@]}" do @@ -3224,6 +3237,12 @@ cat /tmp/results | yad --text-info --center \ GEDIT) echo "Installing Gedit" gedit_install ;; + VIM) echo "Installing VIM" + vim_install + ;; + FILEZILLA) echo "Installing Filezilla" + filezilla_install + ;; MATCHBOX_KEYBOARD) echo "Installing On-Screen Keyboard" keyboard_install ;; diff --git a/changelogs/CHANGELOG-Setup-Script.md b/changelogs/CHANGELOG-Setup-Script.md index 9f2658d..5b7ba23 100644 --- a/changelogs/CHANGELOG-Setup-Script.md +++ b/changelogs/CHANGELOG-Setup-Script.md @@ -1,3 +1,6 @@ +# Version 0.5.7 + - Added Other Tools - VIM and Filezilla + # Version 0.5.6 - Added recognition for Linux Mint 19.2 "Tina". Not tested yet for dependency support.