mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
Added LibreOffice
This commit is contained in:
+14
-1
@@ -272,6 +272,12 @@ else
|
|||||||
YAACVER="NOT INSTALLED"
|
YAACVER="NOT INSTALLED"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if hash libreoffice 2>/dev/null; then
|
||||||
|
LIBREVER="INSTALLED"
|
||||||
|
else
|
||||||
|
LIBREVER="NOT INSTALLED"
|
||||||
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1840,6 +1846,9 @@ function gedit_install() {
|
|||||||
sudo apt-get -y install gedit
|
sudo apt-get -y install gedit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function libreoffice_install() {
|
||||||
|
sudo apt -y install libreoffice
|
||||||
|
}
|
||||||
|
|
||||||
function keyboard_install() {
|
function keyboard_install() {
|
||||||
sudo apt-get -y install matchbox-keyboard
|
sudo apt-get -y install matchbox-keyboard
|
||||||
@@ -2689,11 +2698,12 @@ yad --image=/tmp/banner.png --center --checklist --print-column=2 --separator=""
|
|||||||
false "ELECTRUM" "Electrum BTC Wallet. Not working on Pi yet." "" \
|
false "ELECTRUM" "Electrum BTC Wallet. Not working on Pi yet." "" \
|
||||||
false "RASPAP" "Turn your Pi 3 into an Access Point (Hotspot)." "" \
|
false "RASPAP" "Turn your Pi 3 into an Access Point (Hotspot)." "" \
|
||||||
false "CONKY" "Conky system monitor" "${CONKYVER}" \
|
false "CONKY" "Conky system monitor" "${CONKYVER}" \
|
||||||
|
false "LIBREOFFICE" "LibreOffice Suite" "${LIBREVER}" \
|
||||||
${r} ${c} >>/tmp/results
|
${r} ${c} >>/tmp/results
|
||||||
rc=$?
|
rc=$?
|
||||||
|
|
||||||
if [[ $rc == 2 ]]; then
|
if [[ $rc == 2 ]]; then
|
||||||
otherArray=(GEDIT MATCHBOX_KEYBOARD SCREEN SPEEDTEST ELECTRUM RASPAP CONKY)
|
otherArray=(GEDIT MATCHBOX_KEYBOARD SCREEN SPEEDTEST ELECTRUM RASPAP CONKY LIBREOFFICE)
|
||||||
|
|
||||||
for i in "${otherArray[@]}"
|
for i in "${otherArray[@]}"
|
||||||
do
|
do
|
||||||
@@ -3265,6 +3275,9 @@ cat /tmp/results | yad --text-info --center \
|
|||||||
BT-ENABLE) echo "Re-Enabling Bluetooth"
|
BT-ENABLE) echo "Re-Enabling Bluetooth"
|
||||||
bt_on
|
bt_on
|
||||||
;;
|
;;
|
||||||
|
LIBREOFFICE) echo "Installing LibreOffice Suite"
|
||||||
|
libreoffice_install
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done < /tmp/results
|
done < /tmp/results
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user