GPS, Veracrypt, pipewire

This commit is contained in:
tb14
2025-01-22 14:56:07 -06:00
parent b4806fef93
commit 22c99d49af
2 changed files with 22 additions and 4 deletions
+20 -4
View File
@@ -1,9 +1,9 @@
#!/bin/bash
################################################################################
################################################################################
######################## AmRRON Setup Script v0.9.7.2 ########################
######################## AmRRON Setup Script v0.9.8 ########################
######################## Created by TB-14 ########################
######################## 21 JAN 2025 ########################
######################## 22 JAN 2025 ########################
################################################################################
################################################################################
#
@@ -537,7 +537,8 @@ fi
echo "90% Complete"
#NEWVC=$(curl -s https://www.veracrypt.fr/en/Downloads.html | sed -n 's/<h3>Latest\ Stable\ Release\ //p' | awk -F '(' '{print $1}' | sed 's/-\ //' | sed 's/\ //' )
NEWVC=$(curl -s https://www.veracrypt.fr/en/Downloads.html | grep "Linux: Version" | awk -F 'Version' '{print $2}' | awk -F ' ' '{print $1}')
#NEWVC=$(curl -s https://www.veracrypt.fr/en/Downloads.html | grep "Linux: Version" | awk -F 'Version' '{print $2}' | awk -F ' ' '{print $1}')
NEWVC=$(curl -s https://www.veracrypt.fr/en/Downloads.html | grep "Latest Stable Release - " | awk -F "- " '{print $2}' | awk -F " " '{print $1}')
if [[ $NEWVC == "" ]]; then
NEWVC="SERVER DOWN"
fi
@@ -1523,6 +1524,17 @@ function pulse_audio_suite_install() {
sudo apt-get -y install pulseaudio pavucontrol pulseaudio-utils ||
{ ERRCODE="Failed to install pulseaudio suite"; errors; return; }
}
function pipewire() {
sudo apt purge pipewire pipewire-bin ||
{ ERRCODE="Failed to purge pipewire"; errors; return; }
systemctl enable --user pulseaudio ||
{ ERRCODE="Failed to enable legacy pulseaudio support"; errors; return; }
}
function voacap_install_old() {
@@ -1917,7 +1929,7 @@ function ublox_gps_setup() {
#fi
#Bullseye and Mint 21
if [[ $OSCN =~ (bullseye|vanessa|vera) ]]; then
if [[ $OSCN =~ (bullseye|vanessa|vera|wilma|xia) ]]; then
sudo apt install -y gpsd gpsd-clients chrony gpsd-tools ||
{ ERRCODE="Failed to install gpsd related packages"; errors; return; }
@@ -3475,6 +3487,7 @@ yad --image=$DIR/images/corps-icon.png --center --checklist --print-column=2 --s
false "JS8CALL" "JS8Call Weak Signal QSO program." "${JS8CALLVER}" "${NEWJS8CALLVER}" \
false "COMMSTATONE" "JS8Call mapping (Mint only)" "Unknown" "Unknown" \
false "PULSE" "Pulseaudio suite. Includes pulseaudio, pavucontrol, and pulseaudio-utils." "Unable to determine" "Unable to determine" \
false "PIPEWIRE" "Removes Pipewire and reverts system to pulseaudio." "Unable to determine" "Unable to determine" \
false "UBLOX" "Installs programs and settings to use the UBLOX GPS for system time." "Unable to determine" "Unable to determine" \
false "FORMS" "AmRRON Form templates will be downloaded." "Unknown" "Version 5.0 / 5.1" \
${r} ${c} >>/tmp/results
@@ -4168,6 +4181,9 @@ cat /tmp/results | yad --text-info --center \
PULSE) echo "Installing pulseaudio suite"
pulse_audio_suite_install
;;
PIPEWIRE) echo "Purging pipewire"
pipewire
;;
ICONS) echo "Creating Desktop Shortcuts."
echo desktopshortcuts >> /tmp/cleanup
;;
+2
View File
@@ -1,3 +1,5 @@
# Version 0.9.8
- Fixed version checking for ublox gpsd. Fix veracrypt version checking. Added Menu option for removing pipewire.
# Version 0.9.7.2
- Changed FLAMP v. 2.2.14 to be default due to transmit bug in 2.2.13
# Version 0.9.7.1