Skip to content
Snippets Groups Projects
Commit 29b729d8 authored by Robert Spencer's avatar Robert Spencer
Browse files

Add support for different releases of Kubuntu

At some point the contents $DESKTOP_SESSION of changed in Kubuntu. This
change supports both the old and the new.
parent 620a9026
No related branches found
No related tags found
1 merge request!6Add support for different releases of Kubuntu
# Use ksshaskpass if it exists and we're using the plasma desktop
if [ "$DESKTOP_SESSION" = "/usr/share/xsessions/plasma" ]
if [[ "$DESKTOP_SESSION" =~ "plasma" ]]
then
if [ -x /usr/bin/ksshaskpass ]
then
......@@ -10,4 +10,3 @@ then
echo "NOTICE: You're using the plasma desktop, but you don't have ksshaskpass installed?"
fi
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment