mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
Added Vim / Filezilla
This commit is contained in:
+21
-2
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
################################################################################
|
################################################################################
|
||||||
################################################################################
|
################################################################################
|
||||||
######################## AmRRON Setup Script v0.5.6 ########################
|
######################## AmRRON Setup Script v0.5.7 ########################
|
||||||
######################## Created by TB-14 ########################
|
######################## Created by TB-14 ########################
|
||||||
######################## 05 Aug 2019 ########################
|
######################## 05 Aug 2019 ########################
|
||||||
################################################################################
|
################################################################################
|
||||||
@@ -490,6 +490,9 @@ tested.\n\nThis installer has been tested on Raspbian Stretch, Ubuntu \
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
###Determine if we have a Pi4
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
#create a finish trap
|
#create a finish trap
|
||||||
function finish {
|
function finish {
|
||||||
@@ -1842,6 +1845,14 @@ EOF
|
|||||||
################################################################################
|
################################################################################
|
||||||
###################### Other tools Functions #################################
|
###################### Other tools Functions #################################
|
||||||
################################################################################
|
################################################################################
|
||||||
|
function vim_install() {
|
||||||
|
sudo apt-get -y install vim
|
||||||
|
}
|
||||||
|
|
||||||
|
function filezilla_install() {
|
||||||
|
sudo apt-get -y install filezilla
|
||||||
|
}
|
||||||
|
|
||||||
function gedit_install() {
|
function gedit_install() {
|
||||||
sudo apt-get -y install gedit
|
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" \
|
--button="gtk-close:1" --button="Install All:2" --button="Install Selected:0" \
|
||||||
--column="Tick" --column="Category" --column="Description" --column="Installed" \
|
--column="Tick" --column="Category" --column="Description" --column="Installed" \
|
||||||
false "GEDIT" "Graphical Text Editor." "${GEDITVER}" \
|
false "GEDIT" "Graphical Text Editor." "${GEDITVER}" \
|
||||||
|
false "VIM" "VIM text editor." "" \
|
||||||
|
false "FILEZILLA" "Graphical FTP program" "" \
|
||||||
false "MATCHBOX_KEYBOARD" "Touchscreen keyboard" "${KEYBOARDVER}" \
|
false "MATCHBOX_KEYBOARD" "Touchscreen keyboard" "${KEYBOARDVER}" \
|
||||||
false "SCREEN" "Useful tool for terminal management." "${SCREENVER}" \
|
false "SCREEN" "Useful tool for terminal management." "${SCREENVER}" \
|
||||||
false "SPEEDTEST" "Run internet speedtests from the command line." "${SPEEDTESTVER}" \
|
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=$?
|
rc=$?
|
||||||
|
|
||||||
if [[ $rc == 2 ]]; then
|
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[@]}"
|
for i in "${otherArray[@]}"
|
||||||
do
|
do
|
||||||
@@ -3224,6 +3237,12 @@ cat /tmp/results | yad --text-info --center \
|
|||||||
GEDIT) echo "Installing Gedit"
|
GEDIT) echo "Installing Gedit"
|
||||||
gedit_install
|
gedit_install
|
||||||
;;
|
;;
|
||||||
|
VIM) echo "Installing VIM"
|
||||||
|
vim_install
|
||||||
|
;;
|
||||||
|
FILEZILLA) echo "Installing Filezilla"
|
||||||
|
filezilla_install
|
||||||
|
;;
|
||||||
MATCHBOX_KEYBOARD) echo "Installing On-Screen Keyboard"
|
MATCHBOX_KEYBOARD) echo "Installing On-Screen Keyboard"
|
||||||
keyboard_install
|
keyboard_install
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
# Version 0.5.7
|
||||||
|
- Added Other Tools - VIM and Filezilla
|
||||||
|
|
||||||
# Version 0.5.6
|
# Version 0.5.6
|
||||||
- Added recognition for Linux Mint 19.2 "Tina". Not tested yet for dependency support.
|
- Added recognition for Linux Mint 19.2 "Tina". Not tested yet for dependency support.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user