File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,13 @@ if [ "${IS_DESKTOP}" = true ]; then
6060 " mumble" " network-manager-openvpn" " remmina" " signal-desktop" " steam"
6161 " synaptic" " texmaker" " tikzit" " tmispell-voikko" " vlc"
6262 )
63- if [ " ${XDE_CURRENT_DESKTOP } " = " KDE" ]; then
63+ if [ " ${XDG_CURRENT_DESKTOP } " = " KDE" ]; then
6464 APT_PACKAGES+=(" kde-config-flatpak" " remmina-plugin-kwallet" )
6565 fi
66- if [ " ${XDE_SESSION_TYPE} " = " wayland" ]; then
67- APT_PACKAGES+=(" freerdp2-wayland" )
68- fi
66+ # XDG_SESSION_TYPE is not set properly when running with sudo.
67+ # if [ "${XDG_SESSION_TYPE}" = "wayland" ]; then
68+ # APT_PACKAGES+=("freerdp2-wayland")
69+ # fi
6970 if dpkg -s google-chrome-stable & > /dev/null; then
7071 echo " Google Chrome is already installed."
7172 else
Original file line number Diff line number Diff line change 1414SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) "
1515
1616# Delete old signing key
17- apt-key del 7fa2af80
17+ if command -v apt-key & > /dev/null; then
18+ echo " Removing old apt key."
19+ apt-key del 7fa2af80
20+ fi
1821
1922if [ " ${1} " = " --fix" ]; then
2023 apt purge " ^cuda.*$" " ^libnvidia.*$" " ^nvidia.*$"
Original file line number Diff line number Diff line change 88
99# CUDA
1010# https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu
11- wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb
12- dpkg -i cuda-keyring_1.1-1_all.deb
11+ CUDA_KEYRING=" cuda-keyring_1.1-1_all.deb"
12+ wget " https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/${CUDA_KEYRING} " -O " ${CUDA_KEYRING} "
13+ dpkg -i " ${CUDA_KEYRING} "
1314
1415# Nvidia Container Toolkit
1516curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg
You can’t perform that action at this time.
0 commit comments