sudo password fix

This commit is contained in:
David Young
2026-03-25 07:58:43 -06:00
parent 51095fabab
commit b0bf69a719

View File

@@ -28,7 +28,11 @@ clear
print_logo
cd ~
sudo -v
# Override sudo to use the environment variable
sudo() {
echo "$SUDO_PASS" | /usr/bin/sudo -S "$@"
}
export -f sudo
echo "Getting the latest version of HamPack..."
rm -rf ~/.local/share/HamPack