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
60
60
" mumble" " network-manager-openvpn" " remmina" " signal-desktop" " steam"
61
61
" synaptic" " texmaker" " tikzit" " tmispell-voikko" " vlc"
62
62
)
63
- if [ " ${XDE_CURRENT_DESKTOP } " = " KDE" ]; then
63
+ if [ " ${XDG_CURRENT_DESKTOP } " = " KDE" ]; then
64
64
APT_PACKAGES+=(" kde-config-flatpak" " remmina-plugin-kwallet" )
65
65
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
69
70
if dpkg -s google-chrome-stable & > /dev/null; then
70
71
echo " Google Chrome is already installed."
71
72
else
Original file line number Diff line number Diff line change 14
14
SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) "
15
15
16
16
# 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
18
21
19
22
if [ " ${1} " = " --fix" ]; then
20
23
apt purge " ^cuda.*$" " ^libnvidia.*$" " ^nvidia.*$"
Original file line number Diff line number Diff line change 8
8
9
9
# CUDA
10
10
# 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} "
13
14
14
15
# Nvidia Container Toolkit
15
16
curl -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